|
-
March 16th, 2012, 01:01 AM
#1
How To use HotKey Control in VC++?
How To use HotKey Control in VC++?
-
March 16th, 2012, 02:26 AM
#2
Re: How To use HotKey Control in VC++?
Victor Nijegorodov
-
March 16th, 2012, 03:06 AM
#3
Re: How To use HotKey Control in VC++?
I have read the documentation,I have set control on my dialog
WORD dw = 'D';
m_hot.SetHotKey(dw,HOTKEYF_CONTROL);
when I run program it displays the key "ctrl+D " in hotkey control.
But what does it does,it doesnot activates window
How to use the key?
-
March 16th, 2012, 05:32 AM
#4
Re: How To use HotKey Control in VC++?
What do you mean by "it doesnot activates window"?
Victor Nijegorodov
-
March 16th, 2012, 10:07 AM
#5
Re: How To use HotKey Control in VC++?
 Originally Posted by shivditya
I have read the documentation...
But what does it does,it doesnot activates window
How to use the key?
A hot key control is a window that enables the user to enter a combination of keystrokes to be used as a hot key. A hot key is a key combination that the user can press to perform an action quickly. For example, a user can create a hot key that activates a given window and brings it to the top of the z-order. The hot key control displays the user's choices and ensures that the user selects a valid key combination.
The control just lets you catch a key combination the application is to register, one way or another. It activates nothing. Seems you need to get back to reading the documentation.
Last edited by Igor Vartanov; March 16th, 2012 at 10:10 AM.
Best regards,
Igor
-
March 17th, 2012, 06:19 AM
#6
Re: How To use HotKey Control in VC++?
Thank you for reply It seems I have to register Hotkey ,then only it will work
-
March 17th, 2012, 06:59 AM
#7
Re: How To use HotKey Control in VC++?
Thankyou very much I got it I registered the hot key and mapped WM_HOTKEY in function and it does work
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|