Minimize on task bar without minimize button


#1

I have an app that has no title bar or borders and does not have the standard minimize and maximize buttons. I want the user to be able to Minimize the application by right clicking on the task bar and picking Minimize from the pop up menu. Currently Minimize is greyed out on the task bar menu.

The only way I can see to enable the Minimize selection on the task bar is to implement the window as a Document Window with a border and a Minimize button, but I don’t want to do that. Anybody have any ideas or experience with this?

Greg


#2

I seem to remember that win32 only shows that menu item if the window actually has a minimise button…


#3

Ah, but I can setTitleBarHeight(0). That might get me what I need. I’ll see.