2006-05-10 07:14:04 PM cppbuilder60
Some programs claim the entire screen and hide the taskbar. Usually
this is a nuisance, but sometimes I want it. How do I make my program
hide the taskbar?
--
Jos?
SF
CBuilder Developer
2006-05-10 07:49:41 PM
Re:Overlappng the taskbar
Quote
How do I make my program
hide the taskbar?
// hide the taskbar
HWND hwnd = FindWindow("Shell_TrayWnd", "");
if (hwnd) ShowWindow(hwnd, SW_HIDE);
// show the taskbar
HWND hwnd = FindWindow("Shell_TrayWnd", "");
if (hwnd) ShowWindow(hwnd, SW_SHOW);
HTH,
SF.
Jos
CBuilder Developer
2006-05-10 11:09:58 PM
Re:Overlappng the taskbar
On Wed, 10 May 2006 13:49:41 +0200, "SF" < XXXX@XXXXX.COM >
wrote in borland.public.cppbuilder.nativeapi:
Quote
// hide the taskbar
HWND hwnd = FindWindow("Shell_TrayWnd", "");
if (hwnd) ShowWindow(hwnd, SW_HIDE);
// show the taskbar
HWND hwnd = FindWindow("Shell_TrayWnd", "");
if (hwnd) ShowWindow(hwnd, SW_SHOW);
Great, thanks