How to flash the title bar of your application

31 12 2008

Some times you need to get immediate attention to your window between other windows. You could use either FlashWindow or FlashWindowEx functions to flash the window once or number of times respectively.

FlashWindow flashes a window’s title bar or icon

BOOL FlashWindow( HWND window, BOOL status)

window – Handle of window to flash
status – Whether the title bar should appear enabled or not

Returns – TRUE on success

FlashWindowEx flashes a window specified number of times

Function Syntax:


pfwi – a pointer to the FLASHWINFO structure




Leave a Reply

Fill in your details below or click an icon to log in: Logo

You are commenting using your account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s

%d bloggers like this: