delphi隐藏桌面图片和显示桌面图标


本文整理自网络,侵删。

 

//隐藏桌面图标
var
hDesktop : THandle;
begin
hDesktop := FindWindow(′Progman′, nil);
ShowWindow(hDesktop, SW_HIDE);
end;

//显示桌面图标
var
hDesktop : THandle;
begin
hDesktop := FindWindow(′Progman′, nil);
ShowWindow(hDesktop, SW_show);
end;

相关阅读 >>

Delphi unigui unistringgrid1 清空

Delphi winapi: writeprivateprofilestring、getprivateprofilestring - 简单读写 ini 文件

Delphi 技巧 以相同类名派生一个子类

Delphi 判断uefi与 legacy bios启动模式

Delphi 下的通配符查找函数

Delphi 设置richedit的行间距

Delphi idhttp中get 图像链接通过memorystream加载 image控件显示

Delphi之format函数

Delphi 递归实现从m 个集合中 任取一个元素 生成组合

Delphi下获取ie的useragent的方法

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



打赏

取消

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

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

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

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

评论

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