Group: microsoft.public.nl.security · Group Profile · Search for Windowskey in microsoft.public.nl.security
Author: Spot
Date: Mar 3, 2008 06:05
Hi, I would like to prevent an action from pressing both Windows Keys (it means I want to disable these keys). I wrote this code : void __fastcall TFRM_MAIN::ApplicationEvents1Message(tagMSG &Msg, bool &Handled) { if (Msg.message == WM_KEYDOWN) if (Msg.wParam == VK_LWIN || Msg.wParam == VK_RWIN) { Handled = true; ShowMessage("It works !"); } } However it
|