Solved

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

Posted on 1997-03-26
1
231 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

Salesforce Made Easy to Use

On-screen guidance at the moment of need enables you & your employees to focus on the core, you can now boost your adoption rates swiftly and simply with one easy tool.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
link access with Quickbooks 9 67
Explain Unit of Work pattern 2 76
Microsoft C++ code failing in executable that worked 9 123
Trouble with References... 5 63
This article shows how to make a Windows 7 gadget that extends its U/I with a flyout panel -- a window that pops out next to the gadget.  The example gadget shows several additional techniques:  How to automatically resize a gadget or flyout panel t…
This article describes a technique for converting RTF (Rich Text Format) data to HTML and provides C++ source that does it all in just a few lines of code. Although RTF is coming to be considered a "legacy" format, it is still in common use... po…
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…
The Email Laundry PDF encryption service allows companies to send confidential encrypted  emails to anybody. The PDF document can also contain attachments that are embedded in the encrypted PDF. The password is randomly generated by The Email Laundr…

756 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