Hide the window from the taskbar without using WS_EX_TOOLWINDOW

I have the main window and the "About the program" window, the "About the application" window opens from the main window, but the problem is that the "About the program" window is displayed on the taskbar!

I found that in order to hide the window from the taskbar, I can use a style WS_EX_TOOLWINDOW, but I do not want the Window Window to have this style, so is there another way to do this?

+1
source share
1 answer

Simplification a bit, a window is displayed on the taskbar if:

  • It does not belong and does not have the extended WS_EX_TOOLWINDOW style, or
  • It has an extended WS_EX_APPWINDOW style.

, , . . about hWndParent.

hWndAbout := CreateWindowEx(..., hWndMainWindow, ...);
                                 ^^^ hWndParent

, , , .

+2

Source: https://habr.com/ru/post/1610796/


All Articles