我在void CMyAssistantView::OnInitialUpdate()里面同时初始化两个tab ctrl.
请问Create里的两个this 指针需要区分么,该如何区分。谢谢。现在有个Tab ctrl不能显示。 m_PropertySheet.m_Rect=rect;
m_PropertySheet.m_nPages=-1; // init this membervariable
m_PropertySheet.m_nActPage=0; // init this membervariable //创建属性页
m_PropertySheet.Create(WS_VISIBLE | WS_CHILD | WS_TABSTOP,
m_PropertySheet.m_Rect, this, m_PropertySheet.m_nCtrlID);
m_PropertySheet1.m_Rect=rect;
m_PropertySheet1.m_nPages=-1; // init this membervariable
m_PropertySheet1.m_nActPage=0; // init this membervariable //创建属性页
m_PropertySheet1.Create(WS_VISIBLE | WS_CHILD | WS_TABSTOP,
m_PropertySheet1.m_Rect, this, m_PropertySheet1.m_nCtrlID);