CPropertysheet and tab ctrol
-
Hi, I have a property sheet (in wizard mode) and on one property page of this sheet, I have a pop up dialog. This pop up dialog has a tab control which is again showind a child dialog (no border, style = child). So the picture looks like this Property Sheet Property Page launches CMyDialog (pop up) CMyDialog has CTabCtrl and Child dialog to show on the tab. This child dialog doesn't receive any messages. If I click on the dialog, nothing happens. Tabs get changed though. I am wondering if its a focus problem? how should i fix it. The code to add this child dialog with the tab control looks like this Init of Tab Control : Tab Contrl->Add tabs; Create a vector of dialogs Instantiate the dialog class, add it to vector Create and Repos the dialog window, and say ShowWindow. Thanks in advance, Misha
Evil triumphs when good people sit quiet...
-
Hi, I have a property sheet (in wizard mode) and on one property page of this sheet, I have a pop up dialog. This pop up dialog has a tab control which is again showind a child dialog (no border, style = child). So the picture looks like this Property Sheet Property Page launches CMyDialog (pop up) CMyDialog has CTabCtrl and Child dialog to show on the tab. This child dialog doesn't receive any messages. If I click on the dialog, nothing happens. Tabs get changed though. I am wondering if its a focus problem? how should i fix it. The code to add this child dialog with the tab control looks like this Init of Tab Control : Tab Contrl->Add tabs; Create a vector of dialogs Instantiate the dialog class, add it to vector Create and Repos the dialog window, and say ShowWindow. Thanks in advance, Misha
Evil triumphs when good people sit quiet...
misha_grewal wrote:
Init of Tab Control : Tab Contrl->Add tabs; Create a vector of dialogs Instantiate the dialog class, add it to vector Create and Repos the dialog window, and say ShowWindow.
Can you show the actual code you use to do this? Mark
Mark Salsbery Microsoft MVP - Visual C++ :java: