Adds a visual separator (divider) between toolbar buttons.
Takes toolbarID (Int).
Returns 1 on success, 0 if toolbar not found.
BGI GUI
Parameters & Returns
Parameters
toolbarIDInt
Returns
Int
Quick Summary
Adds a visual separator (divider) between toolbar buttons.
Takes toolbarID (Int).
Returns 1 on success, 0 if toolbar not found.
Technical Exegesis...
Adds a visual separator (vertical divider line) to a toolbar control between buttons. Searches gizmoMap for the toolbar ID. Creates TBBUTTON structure with ZeroMemory initialization. Sets fsStyle to BTNS_SEP (separator style). All other fields set to 0 (no icon, no command, no state). Sends TB_ADDBUTTONS message with separator structure. Returns 1 on success, 0 if toolbar not found.
This function inserts a vertical divider line in the toolbar to visually group related buttons.
Adds a visual separator (vertical divider line) to a toolbar control between buttons. Searches gizmoMap for the toolbar ID. Creates TBBUTTON structure with ZeroMemory initialization. Sets fsStyle to BTNS_SEP (separator style). All other fields set to 0 (no icon, no command, no state). Sends TB_ADDBUTTONS message with separator structure. Returns 1 on success, 0 if toolbar not found.
This function inserts a vertical divider line in the toolbar to visually group related buttons. Separators have no icon, no click behavior, and take minimal space (typically 6-8 pixels wide). Added sequentially with buttons - position depends on call order. Use to organize toolbar buttons into logical groups (e.g., File operations | Edit operations | View options). Common pattern: add buttons, add separator, add more buttons. Purely visual - no functional behavior or event generation.