soonhuat ong wrote:
> Hi all,
>
> I want to know what's the syntax to check if the user press : LEFT WINDOWS
> + 'D' key to minimized all application.
>
> It's like:
>
> If (Press LEFT WIND + 'D' key) then
> Showmessage('You are going to minimise all windows application');
>
> Anyone ? Thanks in advance.
>
> Regards:
> Ong
Two calls to GetKeyState() with VK_LWIN and 'D' as the parameters should
do the trick.
--
Thomas Hruska
CubicleSoft President
Ph: 517-803-4197
Safe C++ Design Principles (First Edition)
Learn how to write memory leak-free, secure,
portable, and user-friendly software.
Learn more and view a sample chapter:
http://www.CubicleSoft.com/SafeCPPDesign/
-----------------------------------------------------
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/