Randell H.
April 4th, 1999, 05:26 PM
I have a simple little MFC program that in the main dialog box, it contains a drop down box and 2 radio buttons. What I would like it to do for now is when I click OKAY for it to tell me the values of those variables and NOT close the application. I moved away from OKAY and created another button since OKAY closes the window but the problem is the data isnt being updated. I know you have to use DDX but I just can't get it to work.
void CDiskfix95Dlg::OnModify() {
CDiskfix95Dlg dlg;
MsgBox(MB_OK|MB_ICONINFORMATION, "Letter: %s", dlg.drive_letter);
}
MsgBox is a function posted by another person here. Somehow I need to update the info before the CDiskfix95Dlg dlg part but I havent a clue. Any help would be appreciated.
Randell H.
Randell L. Hodges
void CDiskfix95Dlg::OnModify() {
CDiskfix95Dlg dlg;
MsgBox(MB_OK|MB_ICONINFORMATION, "Letter: %s", dlg.drive_letter);
}
MsgBox is a function posted by another person here. Somehow I need to update the info before the CDiskfix95Dlg dlg part but I havent a clue. Any help would be appreciated.
Randell H.
Randell L. Hodges