My program should open a series of information windows at the request of the user and wants to implement some kind of user grouping on the Windows 7 taskbar.
Desired functionality: all my info windows should be grouped (if grouping is enabled in the user system, that is), but my main window should NOT be grouped with info windows.
I cannot create a new process for my info windows.
My thought process is that there might be a way to change the window handle of the info window to make the taskbar group it separately, but I honestly don’t even know where to start.
EDIT
I found new information. I can do something with SHGetPropertyStoreForWindow, as indicated here: http://msdn.microsoft.com/en-us/library/windows/desktop/dd378459(v=vs.85).aspx#where
... as a property of any application using windows. This can be set in one of two ways: If different AppUserModelIDs are required for different windows belonging to the same process to control the grouping of taskbars, use SHGetPropertyStoreForWindow to retrieve the window property store and set AppUserModelID as the window property.
source
share