FlashWindow

構文(VBA)
Declare Function FlashWindow Lib "user32" Alias "FlashWindow" (ByVal hwnd As Long, ByVal bInvert As Long) As Long
構文(UWSC)
DEF_DLL FlashWindow(hwnd, long): long: user32.dll
引数
戻り値

プログラム実行例

ウィンドウのタイトルバーを点滅させる

DEF_DLL FlashWindow(hwnd, long): long: user32.dll

DIM hwnd = IDTOHND(EXEC("notepad"))

FOR i = 1 TO 3
	PRINT FlashWindow(hwnd , TRUE)
	SLEEP(3.000)
NEXT
  1. user32.FlashWindow
  2. IDTOHND
  3. EXEC
  4. SLEEP