This HELLO sample is the classic "Hello, World" application. HELLO displays a menu and an About box, with the text, "Hello, WCE!" centered in the application window.
Like any application written using MFC, HELLO has a CWinApp-derived class. This application class provides an implementation of InitInstance, which constructs a frame window object (of the application specific CMainWindow class), then calls the window's ShowWindow and UpdateWindow functions.
"Hello, WCE!" is displayed in response to the WM_PAINT message, by specifying a message map entry, ON_WM_PAINT, for CMainWindow and by implementing the OnPaint handler.
This sample demonstrates the following keywords:
You can find the HELLO project files in the Wce\Samples\Mfc\HELLO directory.
To build the HELLO sample, follow the procedure described in Building the Sample Applications, selecting one or more of the following project configurations.