|
-
April 27th, 1999, 05:00 PM
#1
Property Page in Wizard does not DDX
I have a one page wizard that does not DDX data. A breapoint in my CPropertyPage derived class's DoDataExchange() shows that the DDX is called upon creation, but not termination. Isn't the Finish button supposed to DDX the data?
I simply create a wizard as so:
CPropertySheet sheet;
CPgProjSettings pg1;
sheet.AddPage(&pg1);
sheet.SetWizardMode();
int retval;
if ((retval=sheet.DoModal()) != ID_WIZFINISH)
{
return FALSE;
}
// validate document data
m_sProjName = pg1.m_sProjName;
m_sDB = pg1.m_sDB;
And the OnSetActive() for my CPropertyPage derived class enables a Finish button.
But this does not work (pg1.m_sProjName, for example, remains NULL "".
How do I DDX the data?
Thanks!
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|