FlashWindow function

BOOL WINAPI FlashWindow(
  _In_ HWND hWnd,
  _In_ BOOL bInvert
);

FlashWindow in MSDN

demo

//cl tFlashWindow.c && tFlashWindow.exe
int main(int argc, char* argv[]) {
    HWND w = GetConsoleWindow();
    while(TRUE) {
        FlashWindow(w, TRUE);
        Sleep(700);
    }
    return 0;
}

FlashWindowEx function

BOOL WINAPI FlashWindowEx(
  _In_ PFLASHWINFO pfwi
);

FlashWindowEx in MSDN

FLASHWINFO structure

标签: windows
日期: 2016-03-11 17:30:06, 8 years and 310 days ago
留言

回复不允许使用html标签

通过电子邮件通知我有后续评论.