CHotKeyCtrl Sample

Posted on 2001-06-14
Last Modified: 2013-11-20
Can anyone give me sample where use CHotKeyCtrl?
Question by:Viesturs
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

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

Industry Leaders: 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

Suggested Solutions

Title # Comments Views Activity
Error on moodle after upgrade 3 149
Problem to event 3 114
how to split multiple lines delimiter : 8 120
Capture logon name 13 106
Introduction: Finishing the grid – keyboard support for arrow keys to manoeuvre, entering the numbers.  The PreTranslateMessage function is to be used to intercept and respond to keyboard events. Continuing from the fourth article about sudoku. …
Introduction: Dialogs (2) modeless dialog and a worker thread.  Handling data shared between threads.  Recursive functions. Continuing from the tenth article about sudoku.   Last article we worked with a modal dialog to help maintain informat…
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.
In a recent question ( here at Experts Exchange, a member asked how to run an AutoHotkey script (.AHK) directly from Notepad++ (aka NPP). This video…

730 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