CWinApp

This class is the base class from which you derive a Windows CE application object. An application object provides methods for initializing your application — and each instance of it — and for running the application.

At a Glance

Header file: Afxwin.h
Platforms: H/PC 2.0, Palm-size PC, H/PC Pro
Windows CE versions: 1.0 and later
Complete documentation: Visual C++ documentation

Remarks

The CWinApp constructor has been changed. In addition to providing the application's name, you can optionally provide the name of its help file as well.

Windows CE supports the CWinApp::LoadIcon method differently than Windows 95 and Windows NT do.

MFC for Windows CE supports the CWinApp::ProcessMessageFilter method for compatibility with existing code, but this method does not do anything in Windows CE.

Windows CE does not initialize the m_pszExeName property to the application’s executable file name. If you use this data member, you must assign it a value, yourself.

MFC for Windows CE does not support the m_pActiveWnd property of the CWinApp class.

MFC for Windows CE does not support the following methods of the CWinApp class:

See Also

CWinApp::CWinApp, CWinApp::LoadIcon, CWinApp::ProcessMessageFilter, Application Architecture Classes