Guest_imported
New member
- Jan 1, 1970
- 0
Is it possiable to use one Dialog box with todifferent class, is it also possible to turn off/on controls when required by the classes.
How can one do this, i tried it by making a simple dialog box, and used two different calling OnMenu Buttons.
Dialogbox has a buttons saing "Save".
Functions to load dialog box.
CTestApp::OnMenu12()
{
CDia Dlg;
Dlg.DoModal();
\\want Save button in active
}
CTestApp::OnMenu78()
{
CDia Dlg;
Dlg.DoMOdal();
\\want save button to be active
}
How can i implement the IN/AVTIVE function, PLS HELPPPPPP...
How can one do this, i tried it by making a simple dialog box, and used two different calling OnMenu Buttons.
Dialogbox has a buttons saing "Save".
Functions to load dialog box.
CTestApp::OnMenu12()
{
CDia Dlg;
Dlg.DoModal();
\\want Save button in active
}
CTestApp::OnMenu78()
{
CDia Dlg;
Dlg.DoMOdal();
\\want save button to be active
}
How can i implement the IN/AVTIVE function, PLS HELPPPPPP...