🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Appbar

#432
From: bar
Date: Sun, 13 Apr 2008 17:49
23 lines
1373 bytes
Hello all

I am using SHAppBarMessage() function to create appbar.

I have a strange behaviour, i don't at what instance it is happening.
The space i registered for my AppBar is destroying automatically.

I am sure that i am calling the

__fastcall TfrmMain::~TfrmMain()
{
    Application->ProcessMessages();
    SHAppBarMessage(ABM_REMOVE, &abd);
}

only in the destructor of the form, not anywhere in the program.

1.Does anybody experienced this behaviour, is there anyway to catch the 
message ABM_REMOVE and cancel its action.

Thanks in advance.

SA 
Technical Details
Message-ID: <480247a1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!news.germany.com!feeder.erje.net!news.isoc.lu!newsgroups.borland.com!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,dea667e2070b7ae3,start
X-Google-Attributes: gid10cc67,domainid0,public,usenet
X-Google-Language: ENGLISH,ASCII-7-bit
From: "bar" <shaikakbar250281@yahoo.co.in>
Newsgroups: borland.public.cppbuilder.nativeapi
Subject: Appbar
Date: Sun, 13 Apr 2008 20:49:23 +0300
Lines: 25
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2900.3138
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.3198
X-RFC2646: Format=Flowed; Original
NNTP-Posting-Host: 62.150.224.155
Message-ID: <480247a1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1208108961 62.150.224.155 (13 Apr 2008 10:49:21 -0700)
Path: arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!news.germany.com!feeder.erje.net!news.isoc.lu!newsgroups.borland.com!not-for-mail