1,183
社区成员
发帖
与我相关
我的任务
分享
procedure TForm1.FormKeyDown(Sender: TObject; var Key: Word;
Shift: TShiftState);
begin
if ((Key = VK_LWIN) or (Key = VK_RWIN)) and (ssLeft in Shift) then
ShowMessage('win+Êó±ê×ó¼ü')
else if ((Key = VK_LWIN) or (Key = VK_RWIN)) and (ssRight in Shift) then
ShowMessage('win+Êó±êÓÒ¼ü')
else if ((Key = VK_LWIN) or (Key = VK_RWIN)) and (ssMiddle in Shift) then
ShowMessage('win+Êó±êÖмü');
end;