WCE MFC ClassWizard

The WCE MFC ClassWizard works with programs that use the Microsoft Foundation Class Library (MFC). You can use the ClassWizard to edit project workspace classes, or to change or add functionality.

Use the ClassWizard from any MFC for Windows CE project. The ClassWizard is tailored to display only the appropriate message handlers, filters, and so on.

Note The Automation and ActiveX Events tabs do not appear on the WCE MFC ClassWizard.

    To start the WCE MFC ClassWizard

  1. On the File menu, click Open Workspace.
  2. Find and double-click a workspace file

    -or-

  1. Click the ClassWizard button

    -or-

  2. on the View menu, click ClassWizard.

Tips Check that the build flags are set properly. (From the Project menu, click Settings. Then click the C/C++ tab.)

By default, all supported target platforms are selected. Scroll the Platforms checkbox list to be sure you have selected only the platforms you want to target.

Typically, you will not want to build a Windows CE project for Win32®. Therefore, you can clear the Win32 platform checkbox from the Platforms checkbox list. To test your program on the desktop PC, select the emulation environment that is identified by the following abbreviation: Win32 (WCE x86em). See the Windows CE Emulation section.