Please enable JavaScript to view this site.

A-Shell Reference

mstate (Num) indicates the state of the menu item:

Symbol

Value

Meaning

MBST_ENABLE

&h00000000

Enabled

MBST_DISABLE

&h00000001

Disable (grayed out)

MBST_CHECKED

&h10000000

Menu item is checked (see MBF_CHKMNU and MBF_RADIOMNU in Mtype)

MBST_HILITE

&h20000000

Adds visual highlighting to the item. Under Vista and later, the effect is quite subtle, and basically the same as what you get when the mouse hovers over an item.

MBST_DEFAULT

&h40000000

Menu item is the default

Hex-Decimal Values