BOOL Flash(const HWND hwnd) { FLASHWINFO info; ZeroMemory(&info, sizeof(info)); info.cbSize = sizeof(info); info.hwnd = hwnd; info.dwFlags = FLASHW_CAPTION | FLASHW_TRAY | FLASHW_TIMERNOFG; info.uCount = UINT_MAX; info.dwTimeout = 0; return ::FlashWindowEx(&info); }This has nothing to do with (end of life) Adobe Flash Player.
Programming Tips - Win32: How can I flash (blink) a Window to indicate an error?
Date: 2008jul17
Platform: win32
Language: C/C++
Q. Win32: How can I flash (blink) a Window to indicate an error?
A. Use FlashWindow() or FlashWindowEx() like this: