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

C / C++ / MFC

 
GeneralRe: Passing a collection using the Standard Template Library Pin
Leslie Sanford28-Aug-07 12:06
Leslie Sanford28-Aug-07 12:06 
AnswerRe: Passing a collection using the Standard Template Library Pin
Michael Dunn28-Aug-07 11:10
sitebuilderMichael Dunn28-Aug-07 11:10 
QuestionPrototype a Struct Pin
Jim Warburton28-Aug-07 8:09
Jim Warburton28-Aug-07 8:09 
AnswerRe: Prototype a Struct Pin
El Corazon28-Aug-07 8:17
El Corazon28-Aug-07 8:17 
AnswerRe: Prototype a Struct Pin
Stephen Hewitt28-Aug-07 14:43
Stephen Hewitt28-Aug-07 14:43 
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 
Dave,

Thanks for your interest! It's a problem for the opposite reason, it IS causing something to be drawn. Basically, the rest of the dialog configuration depends on which radio button is selected... so when it automatically selects somethin', it's configuring the dialog according to that. And I'm trying to design it so that it comes up blank, ready for a radio button to be selected.

Here's the first entry in the call stack prior to the event handler:

>Direct3DMFC.exe!_AfxDispatchCmdMsg(CCmdTarget * pTarget=0x0012e460, unsigned >int nID=1062, int nCode=0, void (void)* pfn=0x00523fb6, void * >pExtra=0x00000000, unsigned int nSig=56, AFX_CMDHANDLERINFO * >pHandlerInfo=0x00000000) Line 82 C++

Any further suggestions? I should point out that in attempting to debug this little caper i have done the following:

1) Moved the radio button to another location (bug persists)
2) Deleted the message map according to this event handler (bug goes away)
3) Created another radio button with another name for handling similar events. (This one now takes the problem.)
4) Checked as many params etc as I can think of to see why this radio button would be different from all the others? The only thing that I can think of is that it may have been the last one that I put on there.

Yay - debugging!

Thanks again - Jason




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 
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 

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.