Wizard page interaction
IT & Infrastructure
1
Posts
1
Posters
1
Views
1
Watching
-
Hello, I have a little problem, I need to get a pointer on the first page of my wizard application in order to perform other actions with Next and Back buttons, but it doesn't seem that the compiler like the way I do it... Here is what I do : blablaMP = (CblaBla*) pParent->GetDescendantWindow(IDW_BLABLA); if(blablaMP == NULL) AfxMessageBox("NULL POINTER"); When the page is created, I use Dlg.AddPage(&blablapage,CblaBla::IDD); with the correct instanciation. There, pParent doesn't = NULL, but when I am in my default constructor in blaBla class, pParent worth NULL... Therefore, I can't use the values that are in the first page and I need them... Could someone help me please ? Thank you. Sly :confused: