Home > database > In the window of the PB how to hide the taskbar
In the window of the PB how to hide the taskbar
Time:09-26
Each eldest brother! How to hide task bar of a window, for example: we run Internet explorer, but not in the task bar IE this window, but also in the normal operation of the desktop, IE Note, not hide the taskbar! To solve? Thank you very much
CodePudding user response:
Function Long FindWindowEx (ph, Long Long ch, ref String cn, ref String wn) Library "user32. DLL "The Function Long ShowWindow (Long hWnd, Long nCmdShow) Library "user32. DLL " Use ShowWindow to show or hide the window, the second parameter is 0 means hide, for said shows that: Handle=FindWindowEx (0, 0, "Shell_TrayWnd wn)//wn is empty string ShowWindow (handle, 0)//hide the taskbar
CodePudding user response:
There is a simple way; A, create two window w_main, w_pop, w_main for the main types of window, w_pop popup, w_main emulate set to false. Second, in the open event of w_main open (w_pop); Three, open in the application of the open (w_main); Look at the effect ~ ~