A SERVICE OF

logo

400 Appendix B: iTool Compound Widgets
CW_ITMENU iTool Developer’s Guide
automatically update itself. The CW_ITMENU widget listens for the
following messages:
See “iTool Messaging System” on page 41 for a discussion of observers and
notifications.
4. When a menu item is selected, calls the IDLitTool::DoAction method to
execute the corresponding operation.
Syntax
Result = CW_ITMENU(Parent, UI, Target [, /CONTEXT_MENU]
[, UNAME=string] [, UVALUE=value] )
Return Value
This function returns the widget ID of the newly-created pulldown menu.
Message Value Description / Result
ADDITEMS Object identifier An object was added to the
container. New menu and
submenu items are added as
necessary.
REMOVEITEMS Object identifier An object was removed from
the container. Menu and
submenu items are removed as
necessary.
SELECT 0 or 1 For checked menu items, the
menu item is displayed as
checked (1) or unchecked (0).
SENSITIVE 0 or 1 The menu item is displayed as
sensitive (1) or insensitive (0).
SETPROPERTY Property identifier If the NAME property changed,
the menu item name is updated
with the new value.
Table B-1: Messages Understood by CW_ITMENU