Solved

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

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

Salesforce Has Never Been Easier

Improve and reinforce salesforce training & adoption using WalkMe's digital adoption platform. Start saving on costly employee training by creating fast intuitive Walk-Thrus for Salesforce. Claim your Free Account Now

Question has a verified solution.

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

This article surveys and compares options for encoding and decoding base64 data.  It includes source code in C++ as well as examples of how to use standard Windows API functions for these tasks. We'll look at the algorithms — how encoding and decodi…
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…
This tutorial will teach you the special effect of super speed similar to the fictional character Wally West aka "The Flash" After Shake : http://www.videocopilot.net/presets/after_shake/ All lightning effects with instructions : http://www.mediaf…

632 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