SetItemEnabled |
Set item in a Drop Button enabled or disabled.
Prototype:
SetItemEnabled (LONG ControlID, LONG ItemID, BYTE bEnabled)
Arguments:
ControlID |
ID of the control |
ItemID |
ID of the item. |
bEnabled |
True to enable an item, False to disable an item. |
Example:
Toolbar1.SetItemEnabled(ID1_DropButtonTest, 2, False)
Disables item number 2.
NOTE: This does currently NOT work correctly IF you set the drop button item numbers manually.