Board index » cppbuilder » Overlappng the taskbar

Overlappng the taskbar


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?
 
 

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.
 

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
--
Jos?
 

{smallsort}