🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Thread View: borland.public.cppbuilder.nativeapi
3 messages
3 total messages Started by Jos� Wed, 10 May 2006 11:14
Overlappng the taskbar
#3635
Author: Jos�
Date: Wed, 10 May 2006 11:14
5 lines
978 bytes
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
#3636
Author: SF
Date: Wed, 10 May 2006 11:49
14 lines
1276 bytes
> 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
#3638
Author: Jos�
Date: Wed, 10 May 2006 15:09
14 lines
1290 bytes
On Wed, 10 May 2006 13:49:41 +0200, "SF" <invalid@NOSPAMinvalid.com>
wrote in borland.public.cppbuilder.nativeapi:

>    // 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�
Thread Navigation

This is a paginated view of messages in the thread with full content displayed inline.

Messages are displayed in chronological order, with the original post highlighted in green.

Use pagination controls to navigate through all messages in large threads.

Back to All Threads