🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: ToolTip Notify ?

#5678
From: Sasan
Date: Tue, 02 Aug 2005 20:50
31 lines
2092 bytes
I know may be you tired for my questions ,
 But Form1 is MainForm and stay in life program.

Best Regards,
M.T

"Remy Lebeau (TeamB)" <no.spam@no.spam.com> wrote in message 
news:42efd0c1$1@newsgroups.borland.com...
>
> "Sasan" <sasan_vm@yahoo.com> wrote in message
> news:42efabf1@newsgroups.borland.com...
>
>> TForm1::TForm1(...)
>> {
>>     ToolTip = new TToolTip(this->WindowHandle);
>> }
>
> You should be using the Handle property instead of the WindowHandle:
>
>    ToolTip = new TToolTip(this->Handle);
>
> Also, you are not taking into account that the TForm's Handle can change
> during the lifetime of the form.  You should override the form's 
> CreateWnd()
> and DestroyWnd() methods in order to keep the Tooltip's parent window
> up-to-date when the form's Handle changes.
>
>
> Gambit
>
> 
Technical Details
Message-ID: <42efdca2@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!news.glorb.com!feeder2.on.meganewsservers.com!meganewsservers.com!textfeed1.on.meganewsservers.com!38.119.100.83.MISMATCH!news-out.nntp.be!propagator2-sterling.newsfeeds.com!news-in.newsgroups.com!in.nntp.be!caladan.landsraad.net!newsgroups.borland.com!not-for-mail
References: <42eeff0c@newsgroups.borland.com> <42ef1681$1@newsgroups.borland.com> <42ef1e5f@newsgroups.borland.com> <42efa617@newsgroups.borland.com> <42efabf1@newsgroups.borland.com> <42efd0c1$1@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,7cccfbb0a45ed729
X-Google-Attributes: gid10cc67,public
X-Google-Language: ENGLISH,ASCII-7-bit
Reply-To: "Sasan" <sasan_vm@yahoo.com>
From: "Sasan" <sasan_vm@yahoo.com>
Newsgroups: borland.public.cppbuilder.nativeapi
References: <42eeff0c@newsgroups.borland.com> <42ef1681$1@newsgroups.borland.com> <42ef1e5f@newsgroups.borland.com> <42efa617@newsgroups.borland.com> <42efabf1@newsgroups.borland.com> <42efd0c1$1@newsgroups.borland.com>
Subject: Re: ToolTip Notify ?
Date: Wed, 3 Aug 2005 01:20:34 +0430
Lines: 33
Organization: Computer Center City
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2900.2055
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2900.2055
X-RFC2646: Format=Flowed; Original
NNTP-Posting-Host: 217.219.90.152
Message-ID: <42efdca2@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1123015842 217.219.90.152 (2 Aug 2005 13:50:42 -0700)
Path: arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!news.glorb.com!feeder2.on.meganewsservers.com!meganewsservers.com!textfeed1.on.meganewsservers.com!38.119.100.83.MISMATCH!news-out.nntp.be!propagator2-sterling.newsfeeds.com!news-in.newsgroups.com!in.nntp.be!caladan.landsraad.net!newsgroups.borland.com!not-for-mail