Solved

Trapping System Keys.

Posted on 1998-07-02
3
249 Views
Last Modified: 2013-11-19
How to trap  Alt + tab   keys  in SDI  application.
0
Comment
Question by:madhi
[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
  • 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

Independent Software Vendors: We Want Your Opinion

We value your feedback.

Take our survey and automatically be enter to win anyone of the following:
Yeti Cooler, Amazon eGift Card, and Movie eGift Card!

Question has a verified solution.

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

Introduction: The undo support, implementing a stack. Continuing from the eigth article about sudoku.   We need a mechanism to keep track of the digits entered so as to implement an undo mechanism.  This should be a ‘Last In First Out’ collec…
Have you tried to learn about Unicode, UTF-8, and multibyte text encoding and all the articles are just too "academic" or too technical? This article aims to make the whole topic easy for just about anyone to understand.
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.
If you’ve ever visited a web page and noticed a cool font that you really liked the look of, but couldn’t figure out which font it was so that you could use it for your own work, then this video is for you! In this Micro Tutorial, you'll learn yo…

717 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