problem with taskbar icon and fullscreen window

Started by
1 comment, last by Kroko 23 years, 12 months ago
I need help with this problem: my application runs in DirectDraw fullscreen mode. After pressing Alt+Tab the application is minimized to the taskbar. I would like to have an icon on the taskbar, and not only the window caption. I can get an icon by using the WS_SYSMENU style, but then i can''t use fullscreen mode. Is it possible to create a fullscreen window that shows an icon next to the window title on the taskbar when it is minimized ? thanks Kroko
-=Kroko=-
Advertisement
You need to change the window style while your app is running, with SetWindowLong and its GWL_STYLE flag. Add in a system menu when you switch to windowed mode, and remove it when you switch to fullscreen mode.



- null_pointer
Sabre Multimedia
thx null_pointer

it really works !

-=Kroko=-

This topic is closed to new replies.

Advertisement