Start app without taskbar icon
-
I saw here: Creating an application with no taskbar icon[^] an good solution to start an app without taskbar icon (which work fine), but how can I switch it back (I mean show taskbar icon at some point) ?
-
I saw here: Creating an application with no taskbar icon[^] an good solution to start an app without taskbar icon (which work fine), but how can I switch it back (I mean show taskbar icon at some point) ?
If you use another method to remove the taskbar icon by the ITaskbarList interface (Windows)[^] as described in the article How To Hide A Window in TaskBar[^], you can add the icon later with the ITaskbarList::AddTab method (Windows)[^].
-
If you use another method to remove the taskbar icon by the ITaskbarList interface (Windows)[^] as described in the article How To Hide A Window in TaskBar[^], you can add the icon later with the ITaskbarList::AddTab method (Windows)[^].
-
Thank you ! This could be a good track to follow ... until then, I am facing to far more easy problem: How To Hide A Window in TaskBar[^] :)
The rules for that are spelled out in detail from Microsoft The Taskbar[^]
SetWindowLong(yourHWND, GWL_EXSTYLE, GetWindowLong(yourHWND, GWL_EXSTYLE) & ~(WS_EX_APPWINDOW | WS_EX_TOOLWINDOW));
Straight after you create the window grab the handle and change the style flags and it will stop it being displayed.
In vino veritas
-
Thank you ! This could be a good track to follow ... until then, I am facing to far more easy problem: How To Hide A Window in TaskBar[^] :)
It is easy and can be easily solved by just reading the article:
typedef ITaskbarList *LPITaskbarList