MCPcopy Create free account
hub / github.com/OpenXcom/OpenXcom / flashWindow

Function flashWindow

src/Engine/CrossPlatform.cpp:882–893  ·  view source on GitHub ↗

* Notifies the user that maybe he should have a look. */

Source from the content-addressed store, hash-verified

880 * Notifies the user that maybe he should have a look.
881 */
882void flashWindow()
883{
884#ifdef _WIN32
885 SDL_SysWMinfo wminfo;
886 SDL_VERSION(&wminfo.version)
887 if (SDL_GetWMInfo(&wminfo))
888 {
889 HWND hwnd = wminfo.window;
890 FlashWindow(hwnd, true);
891 }
892#endif
893}
894
895/**
896 * Gets the executable path in DOS-style (short) form.

Callers 2

thinkMethod · 0.85
initMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected