Page History
If a critical error condition occurs in a program, a visual cue such as flashing a window will more likely draw the user's attention to the problem. This topic shows how to flash a window every 1/2 second, using the window's TIMER event and the Windows API function FlashWindow().
The Code
In the window's TIMER event, code the following:
...
The code above will not run until the declaration for FlashWindow() has been added. To add the declarations, do the following:
...