Reputation: 131
If I have an win32 application with several windows, is it possible to show a window but hide the window icon in the taskbar?
I have tried creating the window with WS_EX_TOOLWINDOW and WS_EX_APPWINDOW.
Upvotes: 9
Views: 6209
Reputation: 613013
You have a few options:
WS_EX_TOOLWINDOW
extended window style. WS_EX_APPWINDOW
extended style do not have taskbar buttons.Option 1 is simple enough. If you don't want to use a tool window, use a combination of 2 and 3. Create a hidden unowned window that is the owner of your main window.
Upvotes: 19