CMenu

This class encapsulates the functionality associated with a Windows CE menu.

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

To add a menu to the command bar in Windows CE applications, use the new CFrameWnd::InsertMenu method.

MFC for Windows CE supports the following methods of the CMenu class differently than the standard MFC does:

Windows CE does not support the following CMenu methods:

Note Always place command bar menus in the leftmost portion of the command bar. If you provide File, Edit, View, Insert, Format, Tools, and/or Window menus, they must appear in this order, from left to right.

See Also

CObject, Menu Classes