Click here to Skip to main content
16,007,163 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: help about hwnd Pin
RChin6-Aug-02 0:43
RChin6-Aug-02 0:43 
GeneralModal Window Pin
storein6-Aug-02 0:20
storein6-Aug-02 0:20 
GeneralRe: Modal Window Pin
User 66586-Aug-02 1:54
User 66586-Aug-02 1:54 
GeneralUSB Pin
bishbosh025-Aug-02 23:24
bishbosh025-Aug-02 23:24 
GeneralMapping Keyboard messages to mouse messages Pin
sridharj5-Aug-02 23:12
sridharj5-Aug-02 23:12 
GeneralRe: Mapping Keyboard messages to mouse messages Pin
Tomasz Sowinski5-Aug-02 23:58
Tomasz Sowinski5-Aug-02 23:58 
GeneralRe: Mapping Keyboard messages to mouse messages Pin
sridharj6-Aug-02 0:25
sridharj6-Aug-02 0:25 
GeneralRe: Mapping Keyboard messages to mouse messages Pin
Tomasz Sowinski6-Aug-02 0:33
Tomasz Sowinski6-Aug-02 0:33 
sridharj wrote:
When a number is pressed on the keyboard, the button acts as if it is clicked and the same code as a button click is executed

In this case, handle WM_KEYDOWN or WM_CHAR and send BM_CLICK to appropriate button. You'll probably want to map key codes to button control IDs to avoid huge switch(...) statement. Use CMap or std::map for that.

Tomasz Sowinski -- http://www.shooltz.com

What is "scratch" and why can everything be made from it?

GeneralRe: Mapping Keyboard messages to mouse messages Pin
sridharj6-Aug-02 0:39
sridharj6-Aug-02 0:39 
GeneralChange the Cursor Pin
LittleYellowBird5-Aug-02 22:58
LittleYellowBird5-Aug-02 22:58 
GeneralRe: Change the Cursor Pin
RChin5-Aug-02 23:06
RChin5-Aug-02 23:06 
GeneralRe: Change the Cursor Pin
LittleYellowBird5-Aug-02 23:28
LittleYellowBird5-Aug-02 23:28 
GeneralRe: Change the Cursor Pin
benjymous5-Aug-02 23:27
benjymous5-Aug-02 23:27 
GeneralRe: Change the Cursor Pin
LittleYellowBird5-Aug-02 23:40
LittleYellowBird5-Aug-02 23:40 
GeneralMDI APP Pin
wong19075-Aug-02 22:30
wong19075-Aug-02 22:30 
GeneralShellexecute() with an url.. Pin
Neha5-Aug-02 22:21
Neha5-Aug-02 22:21 
GeneralRe: Shellexecute() with an url.. Pin
sridharj5-Aug-02 23:18
sridharj5-Aug-02 23:18 
GeneralForce explorer to select a file Pin
Chris Losinger5-Aug-02 21:49
professionalChris Losinger5-Aug-02 21:49 
GeneralRe: Force explorer to select a file Pin
_Magnus_5-Aug-02 22:03
_Magnus_5-Aug-02 22:03 
GeneralHelp me..... Pin
Ta_Tee4735-Aug-02 21:34
Ta_Tee4735-Aug-02 21:34 
GeneralRe: Help me..... Pin
Christian Graus5-Aug-02 22:07
protectorChristian Graus5-Aug-02 22:07 
GeneralUpdate Menu Pin
Mic5-Aug-02 21:13
Mic5-Aug-02 21:13 
GeneralRe: Update Menu Pin
Dor6-Aug-02 1:22
Dor6-Aug-02 1:22 
GeneralRe: Update Menu Pin
Mic6-Aug-02 2:14
Mic6-Aug-02 2:14 
GeneralIs it possible to do Pin
suresh_sathya5-Aug-02 20:15
suresh_sathya5-Aug-02 20:15 

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.