Click here to Skip to main content
15,886,873 members
Home / Discussions / ATL / WTL / STL
   

ATL / WTL / STL

 
AnswerRe: Optimized Solution for prime numbers.. Pin
Nicolas Dorier6-Nov-14 6:45
professionalNicolas Dorier6-Nov-14 6:45 
GeneralRe: Optimized Solution for prime numbers.. Pin
Raunak Singh Chauhan6-Nov-14 6:49
Raunak Singh Chauhan6-Nov-14 6:49 
GeneralRe: Optimized Solution for prime numbers.. Pin
Nicolas Dorier6-Nov-14 6:56
professionalNicolas Dorier6-Nov-14 6:56 
AnswerRe: Optimized Solution for prime numbers.. Pin
Bernhard Hiller6-Nov-14 22:06
Bernhard Hiller6-Nov-14 22:06 
Questionget IP address from Net Address Control (Resolved) Pin
bkelly1310-Oct-14 16:06
bkelly1310-Oct-14 16:06 
AnswerRe: get IP address from Net Address Control Pin
Richard MacCutchan10-Oct-14 21:18
mveRichard MacCutchan10-Oct-14 21:18 
GeneralRe: get IP address from Net Address Control Pin
bkelly1311-Oct-14 9:11
bkelly1311-Oct-14 9:11 
GeneralRe: get IP address from Net Address Control Pin
Richard MacCutchan13-Oct-14 5:10
mveRichard MacCutchan13-Oct-14 5:10 
Having thought about this some more, I think there is an easier way. You should really be using the UpdateData[^] function to exchange information between the class variables and the dialog box. You just need to initialise the variable (if necessary) before calling DoModal on the dialog. Then you (i.e. the user) fill in the values in your various boxes and click OK, and the data is transferred into the variables. If you want interim values saved by pressing some other button, then you need to call UpdateData(TRUE) in that button's click handler. You may also need to modify the data exchange routines for some complex controls, so check the documentation for the control you are using.
GeneralRe: get IP address from Net Address Control Pin
bkelly1318-Oct-14 10:44
bkelly1318-Oct-14 10:44 
GeneralRe: get IP address from Net Address Control Pin
Richard MacCutchan18-Oct-14 21:13
mveRichard MacCutchan18-Oct-14 21:13 
GeneralRe: get IP address from Net Address Control Pin
bkelly1319-Oct-14 8:42
bkelly1319-Oct-14 8:42 
Generalserial port access and communication using c Pin
Member 111402618-Oct-14 22:51
Member 111402618-Oct-14 22:51 
GeneralRe: serial port access and communication using c Pin
pasztorpisti8-Oct-14 23:18
pasztorpisti8-Oct-14 23:18 
GeneralRe: serial port access and communication using c Pin
Orjan Westin9-Oct-14 0:58
professionalOrjan Westin9-Oct-14 0:58 
GeneralRe: serial port access and communication using c Pin
pasztorpisti9-Oct-14 1:08
pasztorpisti9-Oct-14 1:08 
GeneralRe: serial port access and communication using c Pin
Orjan Westin9-Oct-14 4:50
professionalOrjan Westin9-Oct-14 4:50 
GeneralRe: serial port access and communication using c Pin
Orjan Westin9-Oct-14 0:55
professionalOrjan Westin9-Oct-14 0:55 
QuestionEnable a control/window in an MFC dialog, Resolved Pin
bkelly138-Oct-14 14:02
bkelly138-Oct-14 14:02 
AnswerRe: Enable a control/window in an MFC dialog, Resolved Pin
Richard MacCutchan8-Oct-14 21:41
mveRichard MacCutchan8-Oct-14 21:41 
GeneralRe: Enable a control/window in an MFC dialog, Resolved Pin
bkelly139-Oct-14 0:34
bkelly139-Oct-14 0:34 
Questioncontrol ID not found, Resolved Pin
bkelly135-Oct-14 14:25
bkelly135-Oct-14 14:25 
AnswerRe: control ID not found Pin
Richard MacCutchan5-Oct-14 23:46
mveRichard MacCutchan5-Oct-14 23:46 
GeneralRe: control ID not found Pin
bkelly136-Oct-14 14:52
bkelly136-Oct-14 14:52 
GeneralRe: control ID not found Pin
Richard MacCutchan6-Oct-14 21:33
mveRichard MacCutchan6-Oct-14 21:33 
GeneralResolved Pin
bkelly137-Oct-14 14:31
bkelly137-Oct-14 14:31 

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.