LOADTOOLBAR |
Top Previous Next |
Syntax INT = LOADTOOLBAR(win as WINDOW,handle as ANYTYPE,id as UINT,tbarray as POINTER,array_size as INT,style as INT) Description Loads and creates a tool bar control. Bitmap for the toolbar can be loaded from a file or directly from resources. Parameters win - Window or dialog to show the toolbar. handle - Filename, resource name or resource numeric identifier. id - Control identifier for the toolbar. tbarray - Integer array of button identifiers. array_size - Number of elements of the array. style - Toolbar style. Return value Returns 0 on failure, 1 on success Remarks See Also: CONTROLCMD, Using Toolbars Example usage See loadtoolbar.eba, verticaltoolbar.eba |