Solved

Trapping System Keys.

Posted on 1998-07-02
3
234 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

Free Tool: Postgres Monitoring System

A PHP and Perl based system to collect and display usage statistics from PostgreSQL databases.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
centeredAverage challenge 8 179
twoTwo  challenge 35 107
MaxSpan challenge 9 105
Dell Alienware Graphics Amplifier Driver for non-Alienware systems 18 340
Introduction: Load and Save to file, Document-View interaction inside the SDI. Continuing from the second article about sudoku.   Open the project in visual studio. From the class view select CSudokuDoc and double click to open the header …
If you use Adobe Reader X it is possible you can't open OLE PDF documents in the standard. The reason is the 'save box mode' in adobe reader X. Many people think the protected Mode of adobe reader x is only to stop the write access. But this fe…
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.
I've attached the XLSM Excel spreadsheet I used in the video and also text files containing the macros used below. https://filedb.experts-exchange.com/incoming/2017/03_w12/1151775/Permutations.txt https://filedb.experts-exchange.com/incoming/201…

840 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