Examples Delphi

If you want to have your form's caption bar blink, you may think of using a timer and owner-drawing the non-client area :-)
But there is a much easier way:
Use the API function
FlashWindow (h : hWnd; bInvert : boolean);