Click here to Skip to main content
15,887,338 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
AnswerRe: I wanted to see (and play with) an example using CORBA, so I downloaded a 60 day trial of Borlands Visibroker. Pin
Andy2027-Jul-08 6:21
Andy2027-Jul-08 6:21 
GeneralRe: I wanted to see (and play with) an example using CORBA, so I downloaded a 60 day trial of Borlands Visibroker. Pin
rosdiana28-Jul-08 19:42
rosdiana28-Jul-08 19:42 
GeneralRe: I wanted to see (and play with) an example using CORBA, so I downloaded a 60 day trial of Borlands Visibroker. Pin
Andy20229-Jul-08 0:51
Andy20229-Jul-08 0:51 
Questionhow to create and add ".rc" file in your project? Pin
AnayKulkarni5-Oct-07 2:23
AnayKulkarni5-Oct-07 2:23 
AnswerRe: how to create and add ".rc" file in your project? Pin
Nelek5-Oct-07 2:37
protectorNelek5-Oct-07 2:37 
Questioni/o stream problem Pin
david bagaturia5-Oct-07 0:56
david bagaturia5-Oct-07 0:56 
QuestionRe: i/o stream problem Pin
David Crow5-Oct-07 3:36
David Crow5-Oct-07 3:36 
QuestionPressing several buttons at once Pin
vSteve5-Oct-07 0:04
vSteve5-Oct-07 0:04 
I am writing a dialogue based application that has several button controls on it. I want the user to be able to press several buttons at once via the keyboard and the dialogue to represent the button as being pushed for the duration of the key presses.

My plan was to use OnKeyDown to read the keyboard and determine which button is pressed. I then want to send a message to the dialogue to simulate the button being pressed by the mouse. I was intending using:

SendDlgItemMessage(IDC_BUTTON2, ON_BN_CLICKED,0,0);

to send a message to the dialoge that a button has been pressed, but I am not having much luck.

I am using Visual Studio 2005

Any answers?


Kalvin
AnswerRe: Pressing several buttons at once Pin
Nishad S5-Oct-07 1:02
Nishad S5-Oct-07 1:02 
GeneralRe: Pressing several buttons at once Pin
vSteve5-Oct-07 1:12
vSteve5-Oct-07 1:12 
GeneralRe: Pressing several buttons at once Pin
Nishad S5-Oct-07 1:32
Nishad S5-Oct-07 1:32 
GeneralRe: Pressing several buttons at once Pin
Nathan Holt at EMOM5-Oct-07 5:58
Nathan Holt at EMOM5-Oct-07 5:58 
GeneralRe: Pressing several buttons at once Pin
vSteve6-Oct-07 22:23
vSteve6-Oct-07 22:23 
GeneralRe: Pressing several buttons at once Pin
Nathan Holt at EMOM8-Oct-07 10:30
Nathan Holt at EMOM8-Oct-07 10:30 
GeneralRe: Pressing several buttons at once Pin
vSteve8-Oct-07 23:34
vSteve8-Oct-07 23:34 
QuestionHow to avoid 3rd party frame's vestiges on my app [modified] Pin
Nelek5-Oct-07 0:01
protectorNelek5-Oct-07 0:01 
QuestionClass Variable Initialization Pin
nitin34-Oct-07 23:32
nitin34-Oct-07 23:32 
AnswerRe: Class Variable Initialization Pin
Nelek4-Oct-07 23:43
protectorNelek4-Oct-07 23:43 
GeneralRe: Class Variable Initialization Pin
nitin34-Oct-07 23:58
nitin34-Oct-07 23:58 
GeneralRe: Class Variable Initialization Pin
ThatsAlok5-Oct-07 0:46
ThatsAlok5-Oct-07 0:46 
GeneralRe: Class Variable Initialization Pin
jhwurmbach5-Oct-07 0:53
jhwurmbach5-Oct-07 0:53 
GeneralRe: Class Variable Initialization Pin
Mark Salsbery5-Oct-07 6:03
Mark Salsbery5-Oct-07 6:03 
QuestionRe: Class Variable Initialization Pin
David Crow5-Oct-07 3:39
David Crow5-Oct-07 3:39 
QuestionHow to Create Process in new Desktop Pin
GauranG Shah4-Oct-07 23:17
GauranG Shah4-Oct-07 23:17 
AnswerRe: How to Create Process in new Desktop Pin
nitin34-Oct-07 23:35
nitin34-Oct-07 23:35 

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.