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

C / C++ / MFC

 
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 
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 
DavidCrow wrote:
Do you have an int member variable that represents all the radio buttons, or do you have a CButton member variable for each?


The former - I have an int variable which is initialzed to -1 (no selection) in the constructor, and then when I get an "OnBnClickedRdBox1" event I do the following:

void CShapeSelect::OnBnClickedRdBox1()<br />
{<br />
	m_ShapeSelected = 2;<br />
	GetParent()->PostMessage(WM_SHAPE_RADIO_CHANGED);<br />
}

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

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.