Click here to Skip to main content
15,897,273 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
QuestionHow to debug this? (MFC dialog control question.) Pin
@largeinsd28-Aug-07 6:47
@largeinsd28-Aug-07 6:47 
QuestionRe: How to debug this? (MFC dialog control question.) Pin
David Crow28-Aug-07 6:56
David Crow28-Aug-07 6:56 
AnswerRe: How to debug this? (MFC dialog control question.) Pin
@largeinsd28-Aug-07 7:19
@largeinsd28-Aug-07 7:19 
QuestionRe: How to debug this? (MFC dialog control question.) Pin
David Crow28-Aug-07 7:28
David Crow28-Aug-07 7:28 
AnswerRe: How to debug this? (MFC dialog control question.) Pin
@largeinsd28-Aug-07 9:00
@largeinsd28-Aug-07 9:00 
GeneralRe: How to debug this? (MFC dialog control question.) Pin
David Crow28-Aug-07 9:06
David Crow28-Aug-07 9:06 
GeneralRe: How to debug this? (MFC dialog control question.) Pin
@largeinsd28-Aug-07 9:54
@largeinsd28-Aug-07 9:54 
GeneralRe: How to debug this? (MFC dialog control question.) Pin
David Crow28-Aug-07 10:40
David Crow28-Aug-07 10:40 
@largeinsd wrote:
But let me ask you this - is there a way to make the dialog class catch the button selection event that is slightly more elegant than they way i've done it here with my own call to PostMessage ?


Sure. Just use ClassWizard (Ctrl+W) to create a BN_CLICKED handler. All the buttons can use the same handler, or they can each have their own.


"A good athlete is the result of a good and worthy opponent." - David Crow

"To have a respect for ourselves guides our morals; to have deference for others governs our manners." - Laurence Sterne


GeneralRe: How to debug this? (MFC dialog control question.) Pin
@largeinsd28-Aug-07 10:40
@largeinsd28-Aug-07 10:40 
GeneralRe: How to debug this? (MFC dialog control question.) Pin
David Crow28-Aug-07 10:44
David Crow28-Aug-07 10:44 
GeneralRe: How to debug this? (MFC dialog control question.) Pin
Reagan Conservative28-Aug-07 8:26
Reagan Conservative28-Aug-07 8:26 
GeneralRe: How to debug this? (MFC dialog control question.) Pin
@largeinsd28-Aug-07 9:07
@largeinsd28-Aug-07 9:07 
GeneralRe: How to debug this? (MFC dialog control question.) Pin
David Crow28-Aug-07 10:42
David Crow28-Aug-07 10:42 
Questionfile creation failure Pin
act_x28-Aug-07 6:13
act_x28-Aug-07 6:13 
AnswerRe: file creation failure Pin
Chris Losinger28-Aug-07 6:23
professionalChris Losinger28-Aug-07 6:23 
AnswerRe: file creation failure Pin
Chris Meech28-Aug-07 6:47
Chris Meech28-Aug-07 6:47 
AnswerRe: file creation failure Pin
David Crow28-Aug-07 6:54
David Crow28-Aug-07 6:54 
QuestionOnLButtonDown and Up Pin
mcsherry28-Aug-07 6:05
mcsherry28-Aug-07 6:05 
AnswerRe: OnLButtonDown and Up Pin
Mark Salsbery28-Aug-07 6:21
Mark Salsbery28-Aug-07 6:21 
GeneralRe: OnLButtonDown and Up Pin
mcsherry28-Aug-07 6:47
mcsherry28-Aug-07 6:47 
QuestionCMenu problem Pin
prithaa28-Aug-07 5:19
prithaa28-Aug-07 5:19 
AnswerRe: CMenu problem Pin
Iain Clarke, Warrior Programmer28-Aug-07 5:26
Iain Clarke, Warrior Programmer28-Aug-07 5:26 
Questionc++ Pin
ellllllllie28-Aug-07 5:06
ellllllllie28-Aug-07 5:06 
AnswerRe: c++ Pin
toxcct28-Aug-07 5:25
toxcct28-Aug-07 5:25 
GeneralRe: c++ Pin
George L. Jackson28-Aug-07 5:43
George L. Jackson28-Aug-07 5:43 

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.