Re: Window Flash

"Marsh, Drew" <[email protected]> Mon, 17 Jun 2002 13:18:59 -0400
Newsgroups gmane.comp.windows.devel.dotnet.general
Message-ID <[email protected]>
Jeff Roberts [mailto:[email protected]] wrote:

> Is there any way to make my main window title bar flash from
> C# ?  I have a = case where if my window is minimized and an
> important event happens, I want to = flash the titlebar on
> the taskbar until they bring the window up.

While there's no native .NET way, you can easily map the FlashWindowEx API
through P/Invoke and call it passing the FLASH_TASKBAR|FLASH_TIMENOFG flags
via the dwFlags field in the FLASHWINFO struct.

HTH,
Drew

[ .NET MVP | weblog: http://radio.weblogs.com/0104813/ ]

You can read messages from the DOTNET archive, unsubscribe from DOTNET, or
subscribe to other DevelopMentor lists at http://discuss.develop.com.