MFC program, do not want to display the window, the task bar is not displayed

Set the following properties in the dialog of oninitdialog, the very simple, online mess of practice, one line of code can get ah

 SetWindowPos (& CWnd :: wndNoTopMost, 0,0,0,0, S WP _HIDEWINDOW);

ModifyStyleEx(WS_EX_APPWINDOW, WS_EX_TOOLWINDOW);

Guess you like

Origin www.cnblogs.com/132818Creator/p/11458869.html