[<<Previous Entry] [^^Up^^] [Next Entry>>] [Menu] [About The Guide]
int pascal EnableMenuItem(HMENU hMenu, WORD idEnableItem, WORD wEnable)

  This function enables or disables a menu item. If an item is
disabled, then you cannot select it when traversing the menu.

Parameters
  hMenu is the handle of the menu which contains the menu item.
  idEnableItem is the identifier or position of the menu item to query.
  wEnable can be a combination or either MF_ENABLED or MF_DISABLED and
   MF_BYPOSITION or MF_BYCOMMAND.

Returns
  Nothing.

This page created by ng2html v1.05, the Norton guide to HTML conversion utility. Written by Dave Pearson