🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.nativeapi
Article #1945

AppBar

#1945
From: bar
Date: Sat, 09 Jun 2007 17:02
25 lines
1668 bytes
Hello all
I created a AppBar under BCB 6.0

in private section of header file
        APPBARDATA abd;
================
        abd.cbSize = sizeof(abd);
        abd.hWnd = Handle;
        abd.uCallbackMessage = WM_ABNOTIFY;

        SHAppBarMessage(ABM_NEW, &abd);

        abd.uEdge=ABE_TOP;

        SetRect(&abd.rc,0,0,Screen->Width,Screen->Height);
        SHAppBarMessage(ABM_QUERYPOS,&abd);
        abd.rc.bottom=abd.rc.top+30;
        SHAppBarMessage(ABM_SETPOS,&abd);

        SetWindowPos(abd.hWnd,HWND_TOPMOST,abd.rc.left,abd.rc.top,
            abd.rc.right-abd.rc.left,abd.rc.bottom-abd.rc.top,
            SWP_NOMOVE | SWP_NOSIZE);

I placed a form in this area.
How can i implement the auto hide functionality to this form. 
Technical Details
Message-ID: <466add0d@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!news1.google.com!news.glorb.com!newsgate.cistron.nl!xs4all!feeder.news-service.com!newsfeed.freenet.de!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,9bed376fc237e7d6,start
X-Google-Attributes: gid10cc67,public,usenet
X-Google-Language: ENGLISH,ASCII-7-bit
From: "bar" <shaikakbar250281@yahoo.co.in>
Newsgroups: borland.public.cppbuilder.nativeapi
Subject: AppBar
Date: Sat, 9 Jun 2007 20:02:18 +0300
Lines: 27
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2900.3028
X-RFC2646: Format=Flowed; Original
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.3028
NNTP-Posting-Host: 62.150.206.179
Message-ID: <466add0d@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1181408525 62.150.206.179 (9 Jun 2007 10:02:05 -0700)
Path: arc1-ca.pugleaf.net!g2news1.google.com!news2.google.com!news1.google.com!news.glorb.com!newsgate.cistron.nl!xs4all!feeder.news-service.com!newsfeed.freenet.de!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail