Click here to Skip to main content
15,921,990 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralOnOK and delete this Pin
ns26-Feb-03 5:59
ns26-Feb-03 5:59 
GeneralRe: OnOK and delete this Pin
palbano26-Feb-03 6:09
palbano26-Feb-03 6:09 
GeneralRe: OnOK and delete this Pin
ns26-Feb-03 6:16
ns26-Feb-03 6:16 
GeneralRe: OnOK and delete this Pin
xsummerx26-Feb-03 7:10
xsummerx26-Feb-03 7:10 
Generalthanks--I got it now Pin
ns26-Feb-03 7:58
ns26-Feb-03 7:58 
Generalthe CP modeless article - thanks. Pin
ns26-Feb-03 6:21
ns26-Feb-03 6:21 
Generalresource.rc could not be opened. Pin
ns26-Feb-03 5:40
ns26-Feb-03 5:40 
GeneralDialog Data Exchange Pin
Kash26-Feb-03 5:04
Kash26-Feb-03 5:04 
Hi,

I am calling a Dialog box from a propery page. The dialog box contains an edit box which takes in numbers as user inputs. I then want these numbers to be used on the property page.

However, as I "OK" the dialog box and go back to it, the numbers have changed back to what the constructor contains.

I have used UpdataData(TRUE); but it continues to revert back to the original numbers.

void CMyPropPage::OnCallMyDlgButton() <br />
{<br />
	UpdateData(TRUE);<br />
	CMyDlg ViewData;<br />
	ViewData.DoModal();<br />
	UpdateData(FALSE);<br />
}


Have I missed something out?

kash
GeneralRe: Dialog Data Exchange Pin
jhwurmbach26-Feb-03 5:14
jhwurmbach26-Feb-03 5:14 
GeneralRe: Dialog Data Exchange Pin
Kash26-Feb-03 5:34
Kash26-Feb-03 5:34 
GeneralRe: Dialog Data Exchange Pin
jhwurmbach26-Feb-03 5:37
jhwurmbach26-Feb-03 5:37 
GeneralRe: Dialog Data Exchange Pin
palbano26-Feb-03 5:15
palbano26-Feb-03 5:15 
GeneralRe: Dialog Data Exchange Pin
Kash26-Feb-03 5:52
Kash26-Feb-03 5:52 
GeneralRead files... Pin
Dennis L26-Feb-03 4:45
Dennis L26-Feb-03 4:45 
GeneralRe: Read files... Pin
Dana Epp26-Feb-03 6:30
Dana Epp26-Feb-03 6:30 
GeneralCOM and #import question ... Pin
Daniel Strigl26-Feb-03 3:57
Daniel Strigl26-Feb-03 3:57 
GeneralRe: COM and #import question ... Pin
peterchen26-Feb-03 4:04
peterchen26-Feb-03 4:04 
GeneralRe: COM and #import question ... Pin
Stephane Rodriguez.26-Feb-03 4:21
Stephane Rodriguez.26-Feb-03 4:21 
GeneralRe: COM and #import question ... Pin
Daniel Strigl26-Feb-03 20:11
Daniel Strigl26-Feb-03 20:11 
GeneralRe: COM and #import question ... Pin
Stephane Rodriguez.26-Feb-03 4:20
Stephane Rodriguez.26-Feb-03 4:20 
GeneralRe: COM and #import question ... Pin
Daniel Strigl26-Feb-03 20:11
Daniel Strigl26-Feb-03 20:11 
GeneralRe: COM and #import question ... Pin
Giles26-Feb-03 5:53
Giles26-Feb-03 5:53 
GeneralRe: COM and #import question ... Pin
Daniel Strigl26-Feb-03 20:11
Daniel Strigl26-Feb-03 20:11 
GeneralDebugging fun with assembly and user dumps Pin
mediamaster4026-Feb-03 3:19
mediamaster4026-Feb-03 3:19 
GeneralRe: Debugging fun with assembly and user dumps Pin
Tim Smith26-Feb-03 3:33
Tim Smith26-Feb-03 3:33 

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.