WTL Wizard problems
-
Hi! I've created a wizard using WTL but i can't get it to navigate to another page other then using the OnWizardNext overide. Is is possible to navigate to the next page by EG using a Timer function or something? Thanks :)
Check out CPropertySheet methods like SetActivePageByID(). Posting your non-working code would help greatly, as well. --Mike-- Visual C++ MVP :cool: LINKS~! Ericahist | 1ClickPicGrabber | CP SearchBar v2.0.2 | C++ Forum FAQ Strange things are afoot at the U+004B U+20DD
-
Check out CPropertySheet methods like SetActivePageByID(). Posting your non-working code would help greatly, as well. --Mike-- Visual C++ MVP :cool: LINKS~! Ericahist | 1ClickPicGrabber | CP SearchBar v2.0.2 | C++ Forum FAQ Strange things are afoot at the U+004B U+20DD
It helps indeed ;-)... The folowing code is called in a thread in which the void pointer contains a pointer to the parent class. int CwizLoginPage::runProcess (void* pThis) { CwizLoginPage * PPointer = (CwizLoginPage*)pThis; CMainWizard tt = (CMainWizard)PPointer->GetParent(); tt.SetActivePageByID(IDD_WIZARD_CHOOSEMODE); return 0; }