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

C / C++ / MFC

 
GeneralRe: Unable to read in edit control data Pin
ForNow15-Apr-13 4:45
ForNow15-Apr-13 4:45 
GeneralRe: Unable to read in edit control data Pin
Richard MacCutchan15-Apr-13 5:41
mveRichard MacCutchan15-Apr-13 5:41 
GeneralRe: Unable to read in edit control data Pin
ForNow15-Apr-13 5:57
ForNow15-Apr-13 5:57 
GeneralRe: Unable to read in edit control data Pin
Richard MacCutchan15-Apr-13 6:53
mveRichard MacCutchan15-Apr-13 6:53 
GeneralRe: Unable to read in edit control data Pin
H.Brydon15-Apr-13 17:51
professionalH.Brydon15-Apr-13 17:51 
GeneralRe: Unable to read in edit control data Pin
H.Brydon15-Apr-13 17:47
professionalH.Brydon15-Apr-13 17:47 
GeneralRe: Unable to read in edit control data Pin
Richard MacCutchan15-Apr-13 21:01
mveRichard MacCutchan15-Apr-13 21:01 
GeneralRe: Unable to read in edit control data Pin
Orjan Westin15-Apr-13 22:47
professionalOrjan Westin15-Apr-13 22:47 
DDX_Text is effectively a macro that does [Set|Get]WindowText on the window with given control ID and the given string.

DDX_Control gets a pointer to the window with given control ID, casts it to the appropriate MFC class, and assigns it to the given variable (which is a CEdit in this case).

It's perfectly safe and common practice to have both data and control members of the same GUI element, and has been since MFC 1.0 back in the early 90s.
GeneralRe: Unable to read in edit control data Pin
Richard MacCutchan15-Apr-13 23:05
mveRichard MacCutchan15-Apr-13 23:05 
GeneralRe: Unable to read in edit control data Pin
Orjan Westin16-Apr-13 0:14
professionalOrjan Westin16-Apr-13 0:14 
GeneralRe: Unable to read in edit control data Pin
H.Brydon16-Apr-13 4:56
professionalH.Brydon16-Apr-13 4:56 
GeneralRe: Unable to read in edit control data Pin
Richard MacCutchan15-Apr-13 23:47
mveRichard MacCutchan15-Apr-13 23:47 
AnswerRe: Unable to read in edit control data Pin
H.Brydon15-Apr-13 17:42
professionalH.Brydon15-Apr-13 17:42 
GeneralRe: Unable to read in edit control data Pin
ForNow15-Apr-13 18:36
ForNow15-Apr-13 18:36 
AnswerRe: Unable to read in edit control data Pin
H.Brydon16-Apr-13 5:10
professionalH.Brydon16-Apr-13 5:10 
GeneralRe: Unable to read in edit control data Pin
ForNow16-Apr-13 6:55
ForNow16-Apr-13 6:55 
Questionwhy cannot find code map in vistual studio2012 update2? Pin
hack00414-Apr-13 21:23
hack00414-Apr-13 21:23 
QuestionRe: why cannot find code map in vistual studio2012 update2? Pin
Richard MacCutchan14-Apr-13 22:55
mveRichard MacCutchan14-Apr-13 22:55 
AnswerRe: why cannot find code map in vistual studio2012 update2? Pin
hack00414-Apr-13 23:55
hack00414-Apr-13 23:55 
GeneralRe: why cannot find code map in vistual studio2012 update2? Pin
Richard MacCutchan15-Apr-13 0:21
mveRichard MacCutchan15-Apr-13 0:21 
AnswerRe: why cannot find code map in vistual studio2012 update2? Pin
Sarath C15-Apr-13 7:19
Sarath C15-Apr-13 7:19 
AnswerRe: why cannot find code map in vistual studio2012 update2? Pin
«_Superman_»15-Apr-13 16:16
professional«_Superman_»15-Apr-13 16:16 
Questionthe big-ending and little-ending Pin
ITboy_Lemon13-Apr-13 6:27
professionalITboy_Lemon13-Apr-13 6:27 
AnswerRe: the big-ending and little-ending Pin
dusty_dex13-Apr-13 6:57
dusty_dex13-Apr-13 6:57 
GeneralRe: the big-ending and little-ending Pin
pasztorpisti13-Apr-13 11:56
pasztorpisti13-Apr-13 11:56 

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.