CHotKeyCtrl Sample

Posted on 2001-06-14
Last Modified: 2013-11-20
Can anyone give me sample where use CHotKeyCtrl?
Question by:Viesturs
  • 2

Accepted Solution

gilad_no earned 50 total points
ID: 6190740
You create the CHotKeyCtrl in the using the resource editor and creates a member variable for it (m_HotKey for example). After that, the user can change the hot key combination, simply by setting the focus to the control and pressing the hot key combination. When done, you can retrieve the hotkey values with the GetHotKey member function. Then you can set it with RegisterHotKey API function.

Author Comment

ID: 6190785
Can you send to e-mail sample or give me link to sample?


Author Comment

ID: 6201844
Thanks for sample.

Featured Post

Free Tool: Port Scanner

Check which ports are open to the outside world. Helps make sure that your firewall rules are working as intended.

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
Windows Drag & Drop Location 2 108
Expand macro to ask for filename column 8 37
mapAB Challlenge 35 156
Excel file not created as expected 7 79
Introduction: Displaying information on the statusbar.   Continuing from the third article about sudoku.   Open the project in visual studio. Status bar – let’s display the timestamp there.  We need to get the timestamp from the document s…
Exception Handling is in the core of any application that is able to dignify its name. In this article, I'll guide you through the process of writing a DRY (Don't Repeat Yourself) Exception Handling mechanism, using Aspect Oriented Programming.
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.
Microsoft Active Directory, the widely used IT infrastructure, is known for its high risk of credential theft. The best way to test your Active Directory’s vulnerabilities to pass-the-ticket, pass-the-hash, privilege escalation, and malware attacks …

839 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