DELPHI AREA
MESSAGE BOARD
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   FavoritesFavorites   Watched TopicsWatched Topics     RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Disable the "special" keys

 
Post new topic   Reply to topic   printer-friendly view    DELPHI AREA Forum Index -> Delphi Programming
View previous topic :: View next topic  
Author Message
Codius
Member


Joined: 06 Jun 2006
Posts: 9
Location: Sweden

PostPosted: 10/08/06 03:20    Post subject: Disable the "special" keys Reply with quote

I'm looking for a way to disable the special keys on a keyboard, such as ALT+F4, ALT+TAB, CTRL+ESC, WindowsKey, AppKey and so on..
I've been told that dWinLock is the best and easiest way to do this, but I don't want to use someone elses DLL file :/
I've been looking a little at keyboard hooking, trying to just recieve the key and don't send it, but it doesn't work Sad

Any help/code will be helpful.
Thanks in advance, Codius

_________________
I've never let my schooling interfere with my education.
Back to top
View user's profile Send private message MSN Messenger
Johnny_Bit
Moderator


Joined: 15 Jun 2003
Posts: 274

PostPosted: 10/08/06 08:48    Post subject: Reply with quote

you don't need such stuff like extarnal dll's, simply use winapi keyboardhook (more on msdn). it's few lines of code and it's simple like hello world
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic   printer-friendly view    DELPHI AREA Forum Index -> Delphi Programming All times are GMT
Page 1 of 1

Add to favorites

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You cannot attach files in this forum
You can download files in this forum


Powered by phpBB © 2001, 2005 phpBB Group