|
-
July 27th, 2009, 10:31 AM
#1
Disable DEL Key
Hey guys I need to Disbale the Del key
The Details are in the wrongly posted thread.
http://www.codeguru.com/forum/showth...48#post1864148
Sorry for inconvenience...
Thanks in advance
-
July 27th, 2009, 03:10 PM
#2
Re: Disable DEL Key
Seriously, it will be easier to replace the keyboard.
However, your research is on point. Since you intend to filter the keyboard system wide, you must install an OS hook, as the sample you posted in the linked thread, but the details are beyond the scope of this post.
That sample may simply require an Microsoft compiler for it to compile as is, I don't know. You'll need to learn about Borland's means to build a simple application which can properly call SetWindowsHookEx, and provide a filter function.
Or you could download the free Express edition of Microsoft's compiler and try that, too.
You have the general idea. The notion of putting this in an application is odd, it may be more fitting to build it as a service, but that's not critical for the goal you've indicated (a personal project).
If not a new keyboard, you might find it easier to pull the screws and remove the switch on that key.
If my post was interesting or helpful, perhaps you would consider clicking the 'rate this post' to let me know (middle icon of the group in the upper right of the post).
-
July 28th, 2009, 01:49 PM
#3
Re: Disable DEL Key
LL hook, see MSDN code (90's)
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|