المساعد الشخصي الرقمي

مشاهدة النسخة كاملة : Disabling the 'Alt' key



C++ Programming
08-22-2011, 04:41 PM
Hi,
I'm trying to disable the 'Alt' key. There's a Windows' Scan Code Mapping (http://msdn.microsoft.com/en-us/windows/hardware/gg463447.aspx) technique which disables the keys. I'm writing the required registry entries from my Win32 application. This successfully disables the key from my physical keyboard. But this technique doesn't disable the keys from On-Screen Keyboard. When I spy the On-Screen keyboard, I found only one control on it. Is there any way or API to disable the keys from On-Screen keyboard ?

Thanks in advance.
[Delegates (http://www.codeproject.com/KB/vb/Delegate.aspx)] [Virtual Desktop (http://www.codeproject.com/KB/system/VirtualDesktop.aspx)] [Tray Me ! (http://www.codeproject.com/KB/system/TrayMe.aspx)]

-Malli...! http://www.barakasoft.com/script/Forums/Images/rose.gif