Close button

@rrrr and @velcrome (and others I guess):

As much as the discussion about the usefulness of a close button is debatable, I agree that a dev answer would be pretty much appreciated.

Now let’s expand a little bit and go into the tech details ;)

Basically vvvv forms are created as “Popup windows” (eg: WM_POPUP), which means they have no close button, and neither appear in the taskbar.

It is relatively straightforward to have a window style as WS_EX_APPWINDOW, which creates an entry in the Taskbar, and has the standard Minimize/Maximize/Close buttons.

Now I won’t go into the “bla bla I prefer to have in taskbar” or “That just taskbar pollution” type of “discussion”.

one important thing is having a popup form also prevents the possibility to have System Menu, eg:

I’m pretty sure that nobody will argue against the usefulness of that default option in Windows (eg: Alt+Space -> Down to move a window lost somewhere on the second monitor).

Only thing, you can’t have both, it’s either Window in taskbar + close button or not having access to this option as 4v windows are implemented for now.

So by preventing close button, you also remove an extremely useful feature (many times being cursing in project because could not access a random patch which was left on another monitor).

So having a shortcut to switch modes would be really handy (and eventually to set default in command line).
It’s really easy to do (just need to change form style in Delphi, or just use SetWindowLong windows function with the right flags), and will maybe finally close that debate once and for all ;)

PS: It’s actually easy to do it from Plugin Interface (takes about 10 minutes), but I believe that should be native ;)

PS2 (@microdee) : Close button should just hide the window, when you close a document in visual studio you do not remove it from your project ;)