Solved

how to replace the code behind the alt-tab and crtl+esc system hotkeys with my own

Posted on 1997-03-26
1
226 Views
Last Modified: 2013-12-03
hi.

I was wondering how a person would go about replacing the
functionality/code implemented behind the ctrl+esc and the alt+tab system hot keys used by Windows NT4.0 with their own?

I have used setWindowsHookEX to hook in and trap any keystrokes I would like, but it is tooooo far down the hook chain for me to stop or replace the ctrl+esc and the alt+tab normal NT4.0 system hot keys code/functionality.   My hooks never get the message.

Please respond with code snippets on how I would catch the system hotkeys before NT processes them and how I would go about inserting my code.

Thanks very much!  Much appreciated!

regards,


Colin Catlin

ccatlin@mayo.edu  
0
Comment
Question by:ccatlin
1 Comment
 
LVL 2

Accepted Solution

by:
sapek earned 120 total points
ID: 1334276
Documentation for CBT hook says you can "(...)prevent task switching by means of hot keys.". I nver tried that however so I can get a sample code. Please look at SDK documentation for CBTProc and experiment.
If you have probelms with CBT hook itself I may be able to help you (I have some experience with it).

Adam
0

Featured Post

Is Your Active Directory as Secure as You Think?

More than 75% of all records are compromised because of the loss or theft of a privileged credential. Experts have been exploring Active Directory infrastructure to identify key threats and establish best practices for keeping data safe. Attend this month’s webinar to learn more.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

This article describes how to add a user-defined command button to the Windows 7 Explorer toolbar.  In the previous article (http://www.experts-exchange.com/A_2172.html), we saw how to put the Delete button back there where it belongs.  "Delete" is …
What my article will show is if you ever had to do processing to a listbox without being able to just select all the items in it. My software Visual Studio 2008 crystal report v11 My issue was I wanted to add crystal report to a form and show…
This is Part 3 in a 3-part series on Experts Exchange to discuss error handling in VBA code written for Excel. Part 1 of this series discussed basic error handling code using VBA. http://www.experts-exchange.com/videos/1478/Excel-Error-Handlin…
Migrating to Microsoft Office 365 is becoming increasingly popular for organizations both large and small. If you have made the leap to Microsoft’s cloud platform, you know that you will need to create a corporate email signature for your Office 365…

895 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

15 Experts available now in Live!

Get 1:1 Help Now