Created On: 08 October 2010
Problem:
The application has a need to alert the user when a timeout has happened or when it otherwise needs user intervention. Is there a way to flash the window and taskbar icon?
Resolution:
While there is no native way for ACUCOBOL-GT to cause a GUI window to flash, it is a simple matter of calling the flashwindow method of the Windows user32.dll.
The attached zip file contains a sample program, flashingwindow.cbl, demonstrating this method.
The attached zip file contains a sample program, flashingwindow.cbl, demonstrating this method.