This method either enables or disables and dims a menu item.
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 |
UINT EnableMenuItem ( UINT nIDEnableItem, UINT nEnable );
MFC for Windows CE does not support the MF_DISABLED flag in the nEnable parameter. Use the MF_GRAYED flag instead.