PROPDLG

The PROPDLG sample illustrates MFC for Windows CE's support for property sheets or tabbed dialog boxes.

PROPDLG is a simple object drawing program that uses property sheets for entering the shape and color attributes of a currently selected object.

Click anywhere in view to add a new shape, which is initially a fixed-size rectangle. Click elsewhere to add more shapes. To select a shape, click that shape. The Object menu displays a simple property sheet that has tabs for Style and Shape. Click OK to apply the properties to the currently selected object and exit the dialog box. Click Cancel to exit the dialog box without applying properties. The Apply Now and Help buttons are always disabled in this sample.

This sample demonstrates the following keywords:

CArchive::IsStoring CList::GetTailPosition
CDC::Ellipse CObject::AssertValid
CDC::GetClipBox CObject::Dump
CDC::Rectangle CObject::Serialize
CDC::RoundRect CPropertyPage::SetModified
CDC::SelectObject CPropertySheet::AddPage
CDialog::DoModal CRect::IntersectRect
CDocument::SetModifiedFlag CRect::PtInRect
CDocument::UpdateAllViews CWinApp::AddDocTemplate
CFrameWnd::AddAdornments CWinApp::OnFileNew
CFrameWnd::GetActiveView CWnd::GetClientRect
CList::AddHead CWnd::InvalidateRect
CList::GetPrev CWnd::SendMessage
CList::GetHeadPosition CWnd::UpdateData
CList::GetNext AfxGetMainWnd

You can find the PROPDLG project files in the Wce\Samples\Mfc\PROPDLG directory.

To build the PROPDLG sample, follow the procedure described in Building the Sample Applications, selecting one or more of the following project configurations.