Flashes the game window and/or its taskbar button.
flags can be:
Flashes the window
Flashes the taskbar button
Flashes both the window and the taskbar button
Flashes continuously until told to stop
Flashes continuously until told to stop or until the game window regains focus.
Stops any current flashing
These can be combined together.
count is the number of times to flash.
Defaults to 0 if not provided.
frequency is the delay between flashes, in milliseconds. Leave as 0 o
Returns whether successful (read: whether the DLL is loaded).
// Start flashing: window_flash(window_flash_all|window_flash_timer); // Stop flashing: window_flash(window_flash_stop); // Flash 3 times at default pace: window_flash(window_flash_all, 3); // Flash title bar 2 times slowly: window_flash(window_flash_window, 2, 700); // Flash taskbar button 5 times quickly: window_flash(window_flash_tray, 5, 150); // Flash window and taskbar until the window has focus (if it doesn't right yet): window_flash(window_flash_all|window_flash_timernofg);