🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: TrayIcon problem

#13783
From: Harold Howe [TeamB]
Date: Fri, 12 Sep 2003 21:33
9 lines
1470 bytes
One simple way to work around the problem with RecreateWnd being called 
on your form, and hence alienating the tray icon, is to use 
AllocateHwnd. Many of the tray icon controls use this to create a hidden 
window that can act as the owner for the tray icon, and to receive the 
notification messages.

Avoiding RecreateWnd and properties that trigger it might be even easier.

H^2
Technical Details
Message-ID: <3f623b85$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-06!sn-xit-09!supernews.com!newshosting.com!news-xfer1.atl.newshosting.com!nntp-relay.ihug.net!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail
References: <3f60760e@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 10cc67,4c15741c747f36c
X-Google-Attributes: gid10cc67,public
X-Google-ArrivalTime: 2003-09-12 14:35:44 PST
Date: Fri, 12 Sep 2003 16:33:15 -0500
From: "Harold Howe [TeamB]" <hhowe@bcbdev.com>
User-Agent: Mozilla/5.0 (Windows; U; Windows NT 5.1; en-US; rv:1.5b) Gecko/20030901 Thunderbird/0.2
X-Accept-Language: en-us, en
MIME-Version: 1.0
Newsgroups: borland.public.cppbuilder.nativeapi
Subject: Re: TrayIcon problem
References: <3f60760e@newsgroups.borland.com>
In-Reply-To: <3f60760e@newsgroups.borland.com>
Content-Type: text/plain; charset=us-ascii; format=flowed
Content-Transfer-Encoding: 7bit
NNTP-Posting-Host: 66.43.209.135
Message-ID: <3f623b85$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1063402373 66.43.209.135 (12 Sep 2003 14:32:53 -0700)
Lines: 10
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-06!sn-xit-09!supernews.com!newshosting.com!news-xfer1.atl.newshosting.com!nntp-relay.ihug.net!newsfeeds.ihug.co.nz!ihug.co.nz!newsgroups.borland.com!not-for-mail