WinAPI: GetActiveWindow - 获取当前活动窗口的句柄

//声明:
  GetActiveWindow: HWND; {无参数; 返回当前活动窗口的句柄}

 
 
 
 
 

 

 
  

//举例:
var
  h: HWND;
begin
  h := GetActiveWindow;
  FlashWindow(h, True);
end;

 
 
 
 
 

 

 
  

你可能感兴趣的:(WinAPI: GetActiveWindow - 获取当前活动窗口的句柄)