procedure TForm1.FormKeyDown(Sender: TObject; var Key: Word;
Shift: TShiftState);
        if (ssctrl in shift) and (key=vk_delete) then
        begin
                ...
        end;
    
        if (ssAlt in Shift) and (Key=VK_RETURN) then
        begin
                ...
        end;
        
        if ((ssAlt in Shift) and (Key = VK_F4)) then
        begin
          ...
        end;
end;


Özgür Çetin
Comon Professionals
Industrial & Software Engineer
 
 

-----Original Message-----
From: [email protected] [mailto:[EMAIL PROTECTED] On
Behalf Of Philbert
Sent: Tuesday, April 19, 2005 9:17 AM
To: [email protected]
Subject: [delphi-en] Capture Windows keys



I would like to capture the WIndows keys such as ALT+TAB, Windows key, 
and other special Window key and key combinations from my application. 
Any assistance on how to go about it will be appreciated. I'm using 
Delphi 6 Enterprise.

PHilbert.





-----------------------------------------------------
Home page: http://groups.yahoo.com/group/delphi-en/
To unsubscribe: [EMAIL PROTECTED] 
Yahoo! Groups Links



 






-----------------------------------------------------
Home page: http://groups.yahoo.com/group/delphi-en/
To unsubscribe: [EMAIL PROTECTED] 
Yahoo! Groups Links

<*> To visit your group on the web, go to:
    http://groups.yahoo.com/group/delphi-en/

<*> To unsubscribe from this group, send an email to:
    [EMAIL PROTECTED]

<*> Your use of Yahoo! Groups is subject to:
    http://docs.yahoo.com/info/terms/
 



Reply via email to