Solved

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

Posted on 1997-03-26
1
233 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
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
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

[Webinar] Code, Load, and Grow

Managing multiple websites, servers, applications, and security on a daily basis? Join us for a webinar on May 25th to learn how to simplify administration and management of virtual hosts for IT admins, create a secure environment, and deploy code more effectively and frequently.

Question has a verified solution.

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

If you have ever found yourself doing a repetitive action with the mouse and keyboard, and if you have even a little programming experience, there is a good chance that you can use a text editor to whip together a sort of macro to automate the proce…
After several hours of googling I could not gather any information on this topic. There are several ways of controlling the USB port connected to any storage device. The best example of that is by changing the registry value of "HKEY_LOCAL_MACHINE\S…
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…

751 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