Article View: borland.public.cppbuilder.nativeapi
Article #13763Re: TrayIcon problem
From: Remy Lebeau (TeamB)
Date: Fri, 12 Sep 2003 00:18
Date: Fri, 12 Sep 2003 00:18
26 lines
1889 bytes
1889 bytes
"vERUs" <-verus-@telia.com> wrote in message news:3f610ea7@newsgroups.borland.com... > Sorry, the first one was a typo... that should be when I > change the Form's FormStyle property between fsNormal > and fsStayOnTop. You can't change the FormStyle property on the fly, the VCL doesn't support that correctly. Your best bet is to just leave it as fsNormal and call SetWindowPos() manually. > There must be something fishy with the code elsewhere then... > This is the cody that does the switching... nothing more: Please post a more complete code snippet that show everything you are doing in regards to the tray icon, including showing WHERE you are calling the code from. Gambit --- Outgoing mail is certified Virus Free. Checked by AVG anti-virus system (http://www.grisoft.com). Version: 6.0.515 / Virus Database: 313 - Release Date: 9/1/03
Technical Details
Message-ID:
<3f6110cb@newsgroups.borland.com>Path:
arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-06!sn-xit-08!supernews.com!priapus.visi.com!news-out.visi.com!petbe.visi.com!newsfeed.wirehub.nl!news.kweb.on.ca!KWeb!newsgroups.borland.com!not-for-mailReferences:
<3f60760e@newsgroups.borland.com> <3f60a272@newsgroups.borland.com> <3f610ea7@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-11 17:26:16 PST From: "Remy Lebeau \(TeamB\)" <gambit47@yahoo.com> Newsgroups: borland.public.cppbuilder.nativeapi References: <3f60760e@newsgroups.borland.com> <3f60a272@newsgroups.borland.com> <3f610ea7@newsgroups.borland.com> Subject: Re: TrayIcon problem Date: Thu, 11 Sep 2003 17:18:59 -0700 Lines: 28 X-Priority: 3 X-MSMail-Priority: Normal X-Newsreader: Microsoft Outlook Express 6.00.2800.1158 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 NNTP-Posting-Host: 207.175.226.26 Message-ID: <3f6110cb@newsgroups.borland.com> X-Trace: newsgroups.borland.com 1063325899 207.175.226.26 (11 Sep 2003 17:18:19 -0700) Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-02!sn-xit-06!sn-xit-08!supernews.com!priapus.visi.com!news-out.visi.com!petbe.visi.com!newsfeed.wirehub.nl!news.kweb.on.ca!KWeb!newsgroups.borland.com!not-for-mail