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


本文整理自网络,侵删。

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


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

相关阅读 >>

Delphi 一个拼图工具的制作思路

Delphi idhttp登录网站教程代码

Delphi xe5记录android应用程序(日志输出)

Delphi 利用thttpclient实现http异步下载

Delphi 校验文件大小

Delphi 通过memorystream 传递image1数据

Delphi urlencode

Delphi 用注册表对Delphi程序进行验证

crc32.pas

Delphi 通过 arp 协议获取局域网内指定 ip 地址的机器的 mac 地址

更多相关阅读请进入《Delphi》频道 >>



打赏

取消

感谢您的支持,我会继续努力的!

扫码支持
扫码打赏,您说多少就多少

打开支付宝扫一扫,即可进行扫码打赏哦

分享从这里开始,精彩与您同在

评论

管理员已关闭评论功能...