Click here to Skip to main content
14,364,198 members

ATL / WTL / STL

 
GeneralRe: Optimized Solution for prime numbers.. Pin
Raunak Singh Chauhan6-Nov-14 7:49
memberRaunak Singh Chauhan6-Nov-14 7:49 
GeneralRe: Optimized Solution for prime numbers.. Pin
Nicolas Dorier6-Nov-14 7:56
professionalNicolas Dorier6-Nov-14 7:56 
AnswerRe: Optimized Solution for prime numbers.. Pin
Bernhard Hiller6-Nov-14 23:06
memberBernhard Hiller6-Nov-14 23:06 
Questionget IP address from Net Address Control (Resolved) Pin
bkelly1310-Oct-14 17:06
memberbkelly1310-Oct-14 17:06 
AnswerRe: get IP address from Net Address Control Pin
Richard MacCutchan10-Oct-14 22:18
protectorRichard MacCutchan10-Oct-14 22:18 
GeneralRe: get IP address from Net Address Control Pin
bkelly1311-Oct-14 10:11
memberbkelly1311-Oct-14 10:11 
GeneralRe: get IP address from Net Address Control Pin
Richard MacCutchan13-Oct-14 6:10
protectorRichard MacCutchan13-Oct-14 6: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 11:44
memberbkelly1318-Oct-14 11:44 
GeneralRe: get IP address from Net Address Control Pin
Richard MacCutchan18-Oct-14 22:13
protectorRichard MacCutchan18-Oct-14 22:13 
GeneralRe: get IP address from Net Address Control Pin
bkelly1319-Oct-14 9:42
memberbkelly1319-Oct-14 9:42 
Generalserial port access and communication using c Pin
Member 111402618-Oct-14 23:51
memberMember 111402618-Oct-14 23:51 
GeneralRe: serial port access and communication using c Pin
pasztorpisti9-Oct-14 0:18
professionalpasztorpisti9-Oct-14 0:18 
GeneralRe: serial port access and communication using c Pin
Orjan Westin9-Oct-14 1:58
professionalOrjan Westin9-Oct-14 1:58 
GeneralRe: serial port access and communication using c Pin
pasztorpisti9-Oct-14 2:08
professionalpasztorpisti9-Oct-14 2:08 
GeneralRe: serial port access and communication using c Pin
Orjan Westin9-Oct-14 5:50
professionalOrjan Westin9-Oct-14 5:50 
GeneralRe: serial port access and communication using c Pin
Orjan Westin9-Oct-14 1:55
professionalOrjan Westin9-Oct-14 1:55 
QuestionEnable a control/window in an MFC dialog, Resolved Pin
bkelly138-Oct-14 15:02
memberbkelly138-Oct-14 15:02 
AnswerRe: Enable a control/window in an MFC dialog, Resolved Pin
Richard MacCutchan8-Oct-14 22:41
protectorRichard MacCutchan8-Oct-14 22:41 
GeneralRe: Enable a control/window in an MFC dialog, Resolved Pin
bkelly139-Oct-14 1:34
memberbkelly139-Oct-14 1:34 
Questioncontrol ID not found, Resolved Pin
bkelly135-Oct-14 15:25
memberbkelly135-Oct-14 15:25 
AnswerRe: control ID not found Pin
Richard MacCutchan6-Oct-14 0:46
protectorRichard MacCutchan6-Oct-14 0:46 
GeneralRe: control ID not found Pin
bkelly136-Oct-14 15:52
memberbkelly136-Oct-14 15:52 
GeneralRe: control ID not found Pin
Richard MacCutchan6-Oct-14 22:33
protectorRichard MacCutchan6-Oct-14 22:33 
GeneralResolved Pin
bkelly137-Oct-14 15:31
memberbkelly137-Oct-14 15:31 
GeneralRe: Resolved Pin
Richard MacCutchan7-Oct-14 23:24
protectorRichard MacCutchan7-Oct-14 23:24 

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.