winhwnd.c

来自「labview实例+8.0版本」· C语言 代码 · 共 17 行

C
17
字号
#include "extcode.h"
#include <windows.h>

_declspec(dllexport) void WinHWND(char *name, HWND *output);
_declspec(dllexport) void WinHWND(char *name, HWND *output)
{
  int i;
  /* Get the HWND of the "name" window. */
  *output = FindWindow(NULL, name);
  for(i = 0; i < 10; i++)
  {
    /* Flash the "name" window on and off 5 times. */
    FlashWindow(*output, TRUE);
    Sleep(100);
  }
}

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?