S
superbenben2001
Unregistered / Unconfirmed
GUEST, unregistred user!
procedure TForm1.NotifyIconMessage(var Message: TMessage);
var
MousePoint:TPoint;
begin
Case Message.LParam of
WM_LButtonDBLclk:
begin
ShowWindow(handle,SW_SHOW);
end;
end;
窗体显示出来之后,并没得到焦点??
怎么让窗体显示出来之后是激活的??
我加上这一句还是不可以??
ShowWindow(handle,SW_SHOW);
windows.setfoucs(handle);
var
MousePoint:TPoint;
begin
Case Message.LParam of
WM_LButtonDBLclk:
begin
ShowWindow(handle,SW_SHOW);
end;
end;
窗体显示出来之后,并没得到焦点??
怎么让窗体显示出来之后是激活的??
我加上这一句还是不可以??
ShowWindow(handle,SW_SHOW);
windows.setfoucs(handle);