delphi 主窗体最小化时不显示在任务栏


本文整理自网络,侵删。

 主窗体添加以下过程

procedure TMainForm.WMSysCommand(var Msg: TWMSysCommand);
begin
  if Msg.CmdType=SC_MINIMIZE then
  begin
    ShowWindow(Handle,SW_HIDE);
  end
  else inherited;
end;

相关阅读 >>

Delphi类型转换函数

Delphi sysutils.strcopy、sysutils.strecopy

Delphi midstr 返回指定范围内的字符串

Delphi android使用idhttp.get抓取https(ssl)文件

Delphi 在tedit中显示水印提示

Delphi控制摄像头

Delphi 通过api 隐藏任务栏所有托盘图标

Delphi二值图像投影算法

Delphi randstring 随机字符串

Delphi实现获取密码框中的密码

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



打赏

取消

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

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

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

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

评论

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