Tab Control and Property Sheet
I'm been reading some discussions on how to implement Tab Control (using
PropertySheet +
PropertyPage) but unable to make any progress on what to do next after
the following steps:
1. I've created a project (MFC exe, single doc) and also have created
CMyPropPage1, CMyPropSheet1
& CMyPropPage2, CMyPropSheet2.
2. In each Property Sheet header file, I've added member var to
CPropertySheet-derived class
public:
CMyPropPage1 m_myPage1;
3. Added the property page to my property sheet in the class's
constructor:
CMyPropSheet1::CMyPropSheet1(....)
{
AddPage( &m_myPage1 );
}
I know that the next step I need to do is to add the Property Page to
each tab with CTabCtrl. Where do
I do this (in CMainFrame::OnCreate function ?) and how ?
Thanks in advance for your help
Sent via Deja.com http://www.*-*-*.com/
Before you buy.