🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

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

Re: FlashWindow function question?

#17039
From: Remy Lebeau (TeamB)
Date: Fri, 11 Apr 2003 02:41
18 lines
1441 bytes
FlashWindow() expects an HWND window handle, not a TForm pointer, ie:

    FlashWindow(Form1->Handle, true);


Gambit

"micheal davis" <michealdavis389@hotmail.com> wrote in message
news:3e961b07@newsgroups.borland.com...

> I am trying to use the FlashWindow function to one of
> my main program forms so it will blink if the application
> is minimized or my program is not the current active
> program so I used
>
> FlashWindow(Form1, true);
>
> although it doesn't seem to work....what I am doing wrong
Technical Details
Message-ID: <3e962bb2$1@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-03!sn-xit-04!sn-xit-01!sn-xit-08!supernews.com!newsfeed.wirehub.nl!news.kweb.on.ca!KWeb!newsgroups.borland.com!not-for-mail
References: <3e961b07@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: 10cc67,30606a7a350655ed
X-Google-Attributes: gid10cc67,public
X-Google-ArrivalTime: 2003-04-10 19:48:03 PST
From: "Remy Lebeau \(TeamB\)" <gambit47@yahoo.com>
Newsgroups: borland.public.cppbuilder.nativeapi
References: <3e961b07@newsgroups.borland.com>
Subject: Re: FlashWindow function question?
Date: Thu, 10 Apr 2003 19:41:35 -0700
Lines: 21
X-Priority: 3
X-MSMail-Priority: Normal
X-Newsreader: Microsoft Outlook Express 6.00.2800.1106
X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106
NNTP-Posting-Host: 207.175.226.26
Message-ID: <3e962bb2$1@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1050028978 207.175.226.26 (10 Apr 2003 19:42:58 -0700)
Path: arc1-ca.pugleaf.net!archiver1.google.com!news1.google.com!sn-xit-03!sn-xit-04!sn-xit-01!sn-xit-08!supernews.com!newsfeed.wirehub.nl!news.kweb.on.ca!KWeb!newsgroups.borland.com!not-for-mail