Solved

Trapping System Keys.

Posted on 1998-07-02
3
203 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
Comment Utility
You need to setup system keyboard hook with SetWindowsHookEx with WH_KEYBOARD as idHook.
0
 
LVL 7

Expert Comment

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

Author Comment

by:madhi
Comment Utility
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

How your wiki can always stay up-to-date

Quip doubles as a “living” wiki and a project management tool that evolves with your organization. As you finish projects in Quip, the work remains, easily accessible to all team members, new and old.
- Increase transparency
- Onboard new hires faster
- Access from mobile/offline

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
bobThere java chalenge 45 82
Perl Awk Need Help 3 94
Modbus - whats the maximum I can store in one register? 4 74
wordmultiple challenge 12 89
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 …
Introduction: Database storage, where is the exe actually on the disc? Playing a game selected randomly (how to generate random numbers).  Error trapping with try..catch to help the code run even if something goes wrong. Continuing from the seve…
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.
Sending a Secure fax is easy with eFax Corporate (http://www.enterprise.efax.com). First, Just open a new email message.  In the To field, type your recipient's fax number @efaxsend.com. You can even send a secure international fax — just include t…

762 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

Need Help in Real-Time?

Connect with top rated Experts

9 Experts available now in Live!

Get 1:1 Help Now