L
liuchong
Unregistered / Unconfirmed
GUEST, unregistred user!
procedure WMSysCommand(var Msg:TMessage);message WM_SYSCOMMAND;
procedure TForm1.WMSysCommand(var Msg:TMessage);
begin
if (Msg.WParam = SC_MINIMIZE) then
CoolTrayIcon1.HideMainForm
else
inherited;
end;
捕捉不到任务栏最小化,只能捕捉最小化按钮产生的最小化
procedure TForm1.WMSysCommand(var Msg:TMessage);
begin
if (Msg.WParam = SC_MINIMIZE) then
CoolTrayIcon1.HideMainForm
else
inherited;
end;
捕捉不到任务栏最小化,只能捕捉最小化按钮产生的最小化