T
Es ist nicht modal.
void CView::OnInitialUpdate()
{
CFormView::OnInitialUpdate();
GetParentFrame()->RecalcLayout();
ResizeParentToFit();
this->m_Sheet.AddPage(&m_Page1);
this->m_Sheet.AddPage(&m_Page2);
this->m_Sheet.Create(this, WS_CHILD | WS_VISIBLE);
m_Sheet.ModifyStyleEx (0, WS_EX_CONTROLPARENT);
m_Sheet.ModifyStyle( 0, WS_TABSTOP );
CRect rcSheet;
this->GetClientRect( &rcSheet );
m_Sheet.SetWindowPos( this, rcSheet.left, rcSheet.top, rcSheet.right, rcSheet.bottom, SWP_NOZORDER | SWP_NOACTIVATE );
}
//CPropertySheet m_Sheet;
//CView : public CFormView
//CPropertyPage m_Page1, m_Page2
Der sheet füllt immer die ganze fläche des view aus.
Nur meine Menüzugriffstasten funzen nicht :-(.