Solved

Trapping System Keys.

Posted on 1998-07-02
3
227 Views
Last Modified: 2013-11-19
How to trap  Alt + tab   keys  in SDI  application.
0
Comment
Question by:madhi
  • 2
3 Comments
 
LVL 7

Accepted Solution

by:
galkin earned 50 total points
ID: 1318616
You need to setup system keyboard hook with SetWindowsHookEx with WH_KEYBOARD as idHook.
0
 
LVL 7

Expert Comment

by:galkin
ID: 1318617
I have fogotten to mentioned hook procedure must be implemented in DLL only.
0
 

Author Comment

by:madhi
ID: 1318618
I had  tried with SetWindowsHookEx(). Am unable to trap Alt+Tab keys.If possible give me a sample code. I would be very thankful to you
0

Featured Post

Master Your Team's Linux and Cloud Stack!

The average business loses $13.5M per year to ineffective training (per 1,000 employees). Keep ahead of the competition and combine in-person quality with online cost and flexibility by training with Linux Academy.

Question has a verified solution.

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

Introduction: Hints for the grid button.  Nested classes, templated collections.  Squash that darned bug! Continuing from the sixth article about sudoku.   Open the project in visual studio. First we will finish with the SUD_SETVALUE messa…
Introduction: Dialogs (1) modal - maintaining the database. Continuing from the ninth article about sudoku.   You might have heard of modal and modeless dialogs.  Here with this Sudoku application will we use one of each type: a modal dialog …
This Micro Tutorial will teach you how to censor certain areas of your screen. The example in this video will show a little boy's face being blurred. This will be demonstrated using Adobe Premiere Pro CS6.
This video will show you how to get GIT to work in Eclipse.   It will walk you through how to install the EGit plugin in eclipse and how to checkout an existing repository.

772 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