🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.delphi.nativeapi
Article #155

Re: Why don't modal windows flash?

#155
From: Rodrigo.net
Date: Wed, 21 Jan 2004 11:55
18 lines
1531 bytes
"Deepak Shenoy" <nospam@nospam.com> escreveu na mensagem
news:400e61ef@newsgroups.borland.com...
> Rodrigo.net wrote:
>
> Not all windows, for instance this does not happen with Office (2003)
> or Office 2000.

It's true.

> Use the form's OnDeactive event to start a timer that calls the Win32
> API function FlashWindow().  Use the OnActivate event to stop the
> timer and restore the titlebar to active if needed.

It doesn't work. OnDeactivate is not called when you click outside the modal
dialog.
And what about if the modaldialog is a Windows Messagebox? It should flash
anyway.
Technical Details
Message-ID: <400e6899@newsgroups.borland.com>
Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!news.maxwell.syr.edu!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail
References: <400d8626@newsgroups.borland.com> <400e61ef@newsgroups.borland.com>

Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit
X-Google-Thread: f94dd,e2ceacf656009080
X-Google-Attributes: gidf94dd,public
X-Google-ArrivalTime: 2004-01-21 04:09:44 PST
From: "Rodrigo.net" <rodrigol@bigfoot.com>
Newsgroups: borland.public.delphi.nativeapi
References:  <400d8626@newsgroups.borland.com> <400e61ef@newsgroups.borland.com>
Subject: Re: Why don't modal windows flash?
Date: Wed, 21 Jan 2004 09:55:00 -0200
Lines: 20
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: 200.215.36.93
Message-ID: <400e6899@newsgroups.borland.com>
X-Trace: newsgroups.borland.com 1074686105 200.215.36.93 (21 Jan 2004 03:55:05 -0700)
Path: arc1-ca.pugleaf.net!archiver1.google.com!news2.google.com!news.maxwell.syr.edu!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail