NPP

The NPP sample is a simple demonstration of a note pad application. It has the following abilities:

This sample demonstrates the following keywords:

CCmdUI::Enable CList::RemoveAt
CComboBox::Copy CObject::AssertValid
CComboBox::Paste CObject::Dump
CDialog::DoModal CObject::IsKindOf
CDialog::EndDialog CString::Format
CDialog::GotoDlgCtrl CString::GetLength
CDialog::OnCancel CString::LoadString
CEdit::Copy CWinApp::AddDocTemplate
CEdit::GetLineCount CWinApp::OnFileNew
CEdit::LineFromChar CWnd::Attach
CEdit::LineScroll CWnd::Create
CEdit::Paste CWnd::Detach
CEditView::GetEditCtrl CWnd::GetDlgItem
CEditView::GetSelectedText CWnd::GetFocus
CEditView::SerializeRaw CWnd::ModifyStyle
CFrameWnd::AddAdornments CWnd::PostMessage
CFrameWnd::InsertButtons CWnd::SendMessage
CList::AddHead CWnd::SetFocus
CList::FindIndex CWnd::SetWindowText
CList::GetCount CWnd::UpdateData
CList::GetHeadPosition AfxMessageBox
CList::GetNext MessageBeep

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

For information on the Windows CE platforms that support this sample, see MFC for Windows CE Samples.