PWB Extensions Help (ext.hlp) (
Table of Contents;
Topic list)
Important Notice
The pages on this site contain documentation for very old MS-DOS software,
purely for historical purposes.
If you're looking for up-to-date documentation, particularly for programming,
you should not rely on the information found here, as it will be woefully
out of date.
EnablePwbMenuItem
◄Up► ◄Contents► ◄Index► ◄Back►
─────PWB Extensions─────────────────────────────────────────────────────────
Syntax: void EnablePwbMenuItem (WORD idItem, unsigned short fState);
See: CheckPwbMenuItem, EnablePwbMenuItem, IdAddPwbMenuItem,
IdFindPwbMenuItem, RecordPwbMenuItem, SetPwbMenuItemTitle,
SetPwbMenuItemCommand
EnablePwbMenuItem sets the availability of the specifed menu item.
Argument Description
<idItem> The ID of the menu item.
<fState> The availability of the menu item, as follows:
TRUE The menu item is available.
FALSE The menu item is unavailable. It appears dimmed
in the menu, and PWB does not allow the item to
be executed.
-♦-