Hy guys... I need some help...
How can I disable some keyboard buttons like the start button, ctrl button, tab button?
Please reply.
Thx
Hy guys... I need some help...
How can I disable some keyboard buttons like the start button, ctrl button, tab button?
Please reply.
Thx
Disable task switching
Using the SystemParametersInfo API function you can trick Windows into thinking that the screen saver is running. Doing so disables the Ctrl-Alt-Delete key sequence from displaying the "Close Program" dialog and rebooting the computer and Alt-Tab from switching to another application. It also stops Ctrl-Esc from opening the Start Menu.
If you wish to disable those keys while your application is running call the following SystemKeys function (place it in the Implementation section of your unit's code - and call from any procedure in your application - where needed). When you call SystemKeys, if Disable is True, the keys will be disabled, False otherwise.
procedure SystemKeys(Disable: Boolean);
var OldVal : LongInt;
begin
SystemParametersInfo
(SPI_SCREENSAVERRUNNING,
Word(Disable),
@OldVal,
0);
end;
After a call to SystemKeys(True) the program runs, but you are unable to Alt-Tab to it nor switch to it in the task list. You can't invoke the Start button, either.
hope this helps am sure there is a better way by hooking the keys i will look into it
---------------------------------------------
![]()
Yes, API's are fine to use, there are lists around that let you disable certain keys at a time...
Kool Sig Silent, but is that your IP? Don't you think its a bad idea to put your IP up? If it's someone elses, I recommend you block it out...the webhost won't look nicely upon you showing that you've illegally connected to a remote host without permission.
Thx... But that doesn't work. Don't know why. I tried it before but dunno.
How did u get that logo? Nice one... In there something looks familiar...![]()
I'm sure u know what.![]()
Anyway... Can anyone please answere how can I disable somekeys?
Ctrl, Alt, StartKey, Tab, ESC, F1, F4, Backspace, Del
lol nope its not my ip and its not a real trojan i just used institution kind of layout as it worked the easiest
it should show your ip and your os and your browser time ect ect
anyway back onto the subject
i see what you want to do disable any key you want on the keyboard
i will go and find this out for you
i will post the answer when i get back from work about 6.00 today
---------------------------------------------
![]()
heh, well then its screwed up on mine...cause its not showing my ip (nor any proxies I use)...oh well.
this program can disable some keys, but I am sure if you put enough effort into it you can disable any key you want![]()
@Snma
does it show you the right ip now?
nice find LttCoder i have been searching for something like that today with no luck
i found plenty of sites selling there code to disable the keyboard!!!
---------------------------------------------
![]()
-silent- now I cant see my IP. victim -blank- winxp 80 IE.
connected to -blank-
thx... it works... thx man...
There are currently 1 users browsing this thread. (0 members and 1 guests)