how to hide taskbar
-
how can i hide the taskbar while my program is running and then unhide it when the program closes. - Kyle
-
how can i hide the taskbar while my program is running and then unhide it when the program closes. - Kyle
Why would you want to do this? You should *never* change a user's preferences just to suit your program.
-
how can i hide the taskbar while my program is running and then unhide it when the program closes. - Kyle
Hi Kyle I didn't try it but i think it will work: 1. get the taskbar window handler:
HWND wDesk=GetDesktopWindow(); HWND wTray=FindWindowEx(wDesk,NULL,"Shell_TrayWnd", "");
2. hide it:ShowWindow(wTray,SW_HIDE);
3. show it back again:ShowWindow(wTray,SW_SHOW);
Good luck Mamtz -
Why would you want to do this? You should *never* change a user's preferences just to suit your program.
i want to do this because the taskbar cuts off the bottom of the window. is there a way to fit the window to the screen? - Kyle
-
i want to do this because the taskbar cuts off the bottom of the window. is there a way to fit the window to the screen? - Kyle
If you maximize the window, it will fill the screen, excluding the taskbar. Is that not what you want to do?
-
If you maximize the window, it will fill the screen, excluding the taskbar. Is that not what you want to do?
yes that is what i wanted to do thank you i will try it - Kyle