www.progui.co.uk  Top  Previous  Next



WindowsID = ExplorerBarItem(ItemID.l, Text$)


Adds a new item 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.

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.



ExplorerBar Index