Question about displaying a property page
C / C++ / MFC
1
Posts
1
Posters
0
Views
1
Watching
-
Hi, In my application I draw a property page, and hit a button on this property page to open a new dialog(which will close the property page). Now I want to show the property page on a button click from this new dialog. For which I have code in OnButtonBlickInThisNewDialog as propSheetPtr->DoModal(); But the prop sheet is not showing up, instead seems like its being displayed for a fraction of a second and goes off. I checked the value of this propSheetPtr it is not deleted, i.e. prop sheet pointer still has the same values as it had when displayed earlier Also tried propSheetPtr->ShowWindow(SW_SHOW) but the property sheet does not stay (displayed!) Can anybody help me out for this issue? Thanks.