ExplorerBarImageItem |
www.progui.co.uk Top Previous Next |
ExplorerBarImageItem() Syntax WindowsID = ExplorerBarImageItem(ItemID.l, Text$, *NormalImageID, *HotImageID, *PressedImageID, *DisabledImageID) Description Adds a new item with icon/image to the current previously created ExplorerBar group. ItemID.l specifies the internal ID of the group item and if #ProGUI_Any is used then the returned value will be the new item ID. Text$ is the text that will be displayed as the group item's title/label. *NormalImageID, *HotImageID, *PressedImageID and *DisabledImageID are pointers to the image data for the various states. When the item is clicked, a #WM_COMMAND message will be posted to the ExplorerBar's parent window message queue containing the ItemID, which can be detected as a PureBasic #PB_Event_Menu event.
Returns the WindowsID (HWND) of the ExplorerBar group item (or if #ProGUI_Any is used the item ID) or zero for failure.
|