Article View: borland.public.delphi.nativeapi
Article #154Re: Why don't modal windows flash?
From: Deepak Shenoy
Date: Wed, 21 Jan 2004 10:26
Date: Wed, 21 Jan 2004 10:26
24 lines
1474 bytes
1474 bytes
Rodrigo.net wrote: > In Windows XP and Windows 2000 (At least with SP4), in non-Delphi > Apps, when you click outside a modal window, the modal window Flashes > to the attention from the user. Not all windows, for instance this does not happen with Office (2003) or Office 2000. > Why don't modal windows flash in Delphi? Is there a workaround? See this post: http://tinyurl.com/3cssh or, as reposted here from Remy's post: 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. -- Deepak Shenoy (TeamB) Agni Software http://www.agnisoft.com
Technical Details
Message-ID:
<400e61ef@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-mailReferences:
<400d8626@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 03:39:38 PST From: "Deepak Shenoy" <nospam@nospam.com> Subject: Re: Why don't modal windows flash? Newsgroups: borland.public.delphi.nativeapi References: <400d8626@newsgroups.borland.com> User-Agent: XanaNews/1.15.8.5 NNTP-Posting-Host: 203.123.180.114 Message-ID: <400e61ef@newsgroups.borland.com> Date: 21 Jan 2004 03:26:39 -0700 X-Trace: newsgroups.borland.com 1074684399 203.123.180.114 (21 Jan 2004 03:26:39 -0700) Lines: 24 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