Click here to Skip to main content
15,915,508 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Bmp resize Pin
J. Dunlap6-Apr-03 20:28
J. Dunlap6-Apr-03 20:28 
GeneralRe: Bmp resize Pin
SatyaDY6-Apr-03 22:34
SatyaDY6-Apr-03 22:34 
GeneralRe: Bmp resize Pin
J. Dunlap7-Apr-03 8:11
J. Dunlap7-Apr-03 8:11 
GeneralRe: Bmp resize Pin
SatyaDY7-Apr-03 21:59
SatyaDY7-Apr-03 21:59 
GeneralHot key Pin
rohit.dhamija6-Apr-03 19:08
rohit.dhamija6-Apr-03 19:08 
GeneralRe: Hot key Pin
Ravi Bhavnani6-Apr-03 19:12
professionalRavi Bhavnani6-Apr-03 19:12 
GeneralRe: Hot key Pin
rohit.dhamija6-Apr-03 19:35
rohit.dhamija6-Apr-03 19:35 
GeneralRe: Hot key Pin
J. Dunlap6-Apr-03 19:41
J. Dunlap6-Apr-03 19:41 
Use the RegisterHotKey API. Whenever the user presses the hotkey you specified, your window will receive a WM_HOTKEY message.

Like this:
//this will register Ctrl+Alt+M for the window hwnd
result=RegisterHotkey(
      hwnd,  //hwnd of the window to receive the WM_HOTKEY msg
      id,    //a hotkey id - can be anything but must be unique on this thread
      MOD_ALT || MOD_CONTROL, //the Alt/Ctrl/Shift modifiers
      VK_M //the keycode of the key to use
      );



"Do unto others as you would have them do unto you." - Jesus

"An eye for an eye only makes the whole world blind." - Mahatma Gandhi







GeneralRe: Hot key Pin
Nish Nishant6-Apr-03 19:58
sitebuilderNish Nishant6-Apr-03 19:58 
Generalmfc support in win32 app Pin
r i s h a b h s6-Apr-03 18:50
r i s h a b h s6-Apr-03 18:50 
GeneralRe: mfc support in win32 app Pin
r i s h a b h s6-Apr-03 20:48
r i s h a b h s6-Apr-03 20:48 
GeneralRe: mfc support in win32 app Pin
Chris Richardson7-Apr-03 3:42
Chris Richardson7-Apr-03 3:42 
GeneralPlease Help me ! Thanks! Pin
dxhdxh6-Apr-03 17:57
dxhdxh6-Apr-03 17:57 
Generalsimple string concatenation question Pin
J.B.6-Apr-03 17:06
J.B.6-Apr-03 17:06 
GeneralRe: simple string concatenation question Pin
Nick Parker6-Apr-03 17:28
protectorNick Parker6-Apr-03 17:28 
GeneralRe: simple string concatenation question Pin
J.B.7-Apr-03 1:27
J.B.7-Apr-03 1:27 
GeneralRe: simple string concatenation question Pin
anju6-Apr-03 17:38
anju6-Apr-03 17:38 
GeneralRe: simple string concatenation question Pin
Michael Dunn6-Apr-03 17:56
sitebuilderMichael Dunn6-Apr-03 17:56 
GeneralRe: simple string concatenation question Pin
J.B.6-Apr-03 18:40
J.B.6-Apr-03 18:40 
GeneralRe: simple string concatenation question Pin
Anders Molin7-Apr-03 0:09
professionalAnders Molin7-Apr-03 0:09 
GeneralRe: simple string concatenation question Pin
Brian Shifrin8-Apr-03 14:17
Brian Shifrin8-Apr-03 14:17 
QuestionHistogram question... reworded... help? Pin
Sheshi6-Apr-03 16:14
Sheshi6-Apr-03 16:14 
AnswerRe: Histogram question... reworded... help? Pin
Nick Parker6-Apr-03 16:25
protectorNick Parker6-Apr-03 16:25 
GeneralRe: Histogram question... reworded... help? Pin
Sheshi6-Apr-03 16:31
Sheshi6-Apr-03 16:31 
QuestionHow to by-pass a Message to a button? Pin
Aixiteru6-Apr-03 14:44
Aixiteru6-Apr-03 14:44 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.