ToolBarButtonEx |
www.progui.co.uk Top Previous Next |
ToolBarButtonEx() Syntax Success = ToolBarButtonEx(ButtonID.l, Text$, Style.l) Description Adds a text button to the current ToolBarEx. ButtonID specifies the internal ID to be used and if #ProGUI_Any is used then the returned value will be the new Button ID. Text$ is displayed as the button's label and can contain escape-code effects (see MenuItemEx for details). Style.l specifies the optional Windows flags for the button and can include any of the following:
#BTNS_BUTTON #BTNS_SEP #BTNS_CHECK #BTNS_GROUP #BTNS_CHECKGROUP #BTNS_DROPDOWN #BTNS_AUTOSIZE #BTNS_NOPREFIX #BTNS_SHOWTEXT #BTNS_WHOLEDROPDOWN See Microsoft MSDN for details. Returns zero for failure or the Button ID for success.
|