🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: AppBar auto hide

#624
From: Asger Joergensen
Date: Sat, 09 Feb 2008 18:28
26 lines
1627 bytes
Hi bar 
 
 bar says:
> I have an appbar form, i dumped all the code from the local help of BCB 6.0
>  i need to implete auto hide feature for this form.
> I am stuck, how the autohide works, i mean should i make the

I have never used the appbar, but form what I can see in the help
I don't think You are suposed to hide it Your self, I think it 
will hide it self when it looses it's focus.

That is if You have told the system what edge it belongs to.

abd.cbSize = sizeof(abd);
abd.hWnd = Handle;
abd.lParam = true;

abd.uEdge = ABE_TOP; //********

bool HideSuccess = SHAppBarMessage(ABM_SETAUTOHIDEBAR, &abd);

Just my gues.

Kind regards
Asger
Technical Details
Message-ID: <MPG.22180f3bca112f4c989a5b@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!feeder3.cambrium.nl!feeder5.cambrium.nl!feeder1.cambrium.nl!feed.tweaknews.nl!news2.euro.net!newsfeed.freenet.de!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail
References: <47adca4e@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,435e6b79953fde8f
X-Google-Attributes: gid10cc67,public,usenet
X-Google-Language: ENGLISH,ASCII-7-bit
From: Asger Joergensen <junk@Asger-P.dk>
Newsgroups: borland.public.cppbuilder.nativeapi
Subject: Re: AppBar auto hide
Date: Sat, 9 Feb 2008 19:28:28 +0100
Message-ID: <MPG.22180f3bca112f4c989a5b@newsgroups.borland.com>
References: <47adca4e@newsgroups.borland.com>
Organization: Asger-P
MIME-Version: 1.0
Content-Type: text/plain; charset="utf-8"
Content-Transfer-Encoding: 7bit
User-Agent: MicroPlanet-Gravity/2.70.2067
NNTP-Posting-Host: 83.73.220.89
X-Trace: newsgroups.borland.com 1202581704 83.73.220.89 (9 Feb 2008 10:28:24 -0700)
Lines: 26
Path: arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!feeder3.cambrium.nl!feeder5.cambrium.nl!feeder1.cambrium.nl!feed.tweaknews.nl!news2.euro.net!newsfeed.freenet.de!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail