c - Hide Window from taskbar without using WS_EX_TOOLWINDOW -
i have main window , window, window opened main window, problem window shown in taskbar!
i have found in order hide window taskbar, can use ws_ex_toolwindow style, don't want window have style, there way it?
simplifying little, window represented in taskbar if:
- it not owned , not have ws_ex_toolwindow extended style, or
- it has ws_ex_appwindow extended style.
so, solution make window owned. should owned main window of application. pass main window handle hwndparent when create window.
hwndabout := createwindowex(..., hwndmainwindow, ...); ^^^ hwndparent as resolving problem taskbar, setting owner ensure window shown on top of main window.
Comments
Post a Comment