[SOLVED] how to keyhook ctrl+alt+delete ant etc.

Feature Requests, Comments, Bugs, and Suggestions on the JIntellitype Java API.

[SOLVED] how to keyhook ctrl+alt+delete ant etc.

Postby Jhovarie » Sun Dec 26, 2010 2:44 am

hello guys i have a simple question how to keyhook ctrl+alt+delete, alt+F4 and alt+tab
I'm trying to modify this code
Code: Select all
JIntellitype.getInstance().registerHotKey(90, JIntellitype.MOD_CONTROL + JIntellitype.MOD_ALT,(int) 'X');

but i cant modify it how to do it? I'm currently developing cybercafe thanks in advance
Jhovarie
 
Posts: 10
Joined: Wed Dec 15, 2010 10:44 am

Re: how to keyhook ctrl+alt+delete ant etc.

Postby Melloware » Sun Dec 26, 2010 9:35 am

Jhovarie wrote:ctrl+alt+delete

CTRL+ATL+DELETE is not allowed to be hooked by ANY application and is only for Windows. This has been in place since Microsoft invented MS-DOS back in the early 80's.

Jhovarie wrote:alt+F4

Code: Select all
JIntellitype.getInstance().registerHotKey(1, JIntellitype.MOD_ALT, 115);


Jhovarie wrote:and alt+tab

Code: Select all
JIntellitype.getInstance().registerHotKey(2, JIntellitype.MOD_ALT, 9);
=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Melloware Inc.
http://www.melloware.com
=-=-=-=-=-=-=-=-=-=-=-=-=-=-
User avatar
Melloware
Site Admin
 
Posts: 11056
Joined: Thu Dec 01, 2005 10:24 pm
Location: Philadelphia, Pennsylvania USA

Re: how to keyhook ctrl+alt+delete ant etc.

Postby Jhovarie » Sun Dec 26, 2010 6:21 pm

Melloware wrote:
Jhovarie wrote:ctrl+alt+delete

CTRL+ATL+DELETE is not allowed to be hooked by ANY application and is only for Windows. This has been in place since Microsoft invented MS-DOS back in the early 80's.

Jhovarie wrote:alt+F4

Code: Select all
JIntellitype.getInstance().registerHotKey(1, JIntellitype.MOD_ALT, 115);


Jhovarie wrote:and alt+tab

Code: Select all
JIntellitype.getInstance().registerHotKey(2, JIntellitype.MOD_ALT, 9);


Hello melloware it does not work may be microsoft keyboard has a different keyboard number?
Jhovarie
 
Posts: 10
Joined: Wed Dec 15, 2010 10:44 am

Re: how to keyhook ctrl+alt+delete ant etc.

Postby Jhovarie » Sun Dec 26, 2010 6:26 pm

Jhovarie wrote:
Melloware wrote:
Jhovarie wrote:ctrl+alt+delete

CTRL+ATL+DELETE is not allowed to be hooked by ANY application and is only for Windows. This has been in place since Microsoft invented MS-DOS back in the early 80's.

Jhovarie wrote:alt+F4

Code: Select all
JIntellitype.getInstance().registerHotKey(1, JIntellitype.MOD_ALT, 115);


Jhovarie wrote:and alt+tab

Code: Select all
JIntellitype.getInstance().registerHotKey(2, JIntellitype.MOD_ALT, 9);


Hello melloware it does not work may be microsoft keyboard has a different keyboard number?



Oopss ... sorry melloware it is working now i have only a mistake thanks melloware
Jhovarie
 
Posts: 10
Joined: Wed Dec 15, 2010 10:44 am

Re: [SOLVED] how to keyhook ctrl+alt+delete ant etc.

Postby Melloware » Sun Dec 26, 2010 6:58 pm

No problem...
=-=-=-=-=-=-=-=-=-=-=-=-=-=-
Melloware Inc.
http://www.melloware.com
=-=-=-=-=-=-=-=-=-=-=-=-=-=-
User avatar
Melloware
Site Admin
 
Posts: 11056
Joined: Thu Dec 01, 2005 10:24 pm
Location: Philadelphia, Pennsylvania USA


Return to JIntellitype

Who is online

Users browsing this forum: No registered users and 1 guest