bgiAppendSubMenuSeperator

Adds a visual separator line to a submenu. Takes subMenu (Int). Returns the internal menu ID on success, 0 if submenu not found.

BGI GUI

Parameters & Returns

Parameters

subMenu Int

Returns

Int

Quick Summary

Adds a visual separator line to a submenu. Takes subMenu (Int). Returns the internal menu ID on success, 0 if submenu not found.

Technical Exegesis...

Adds a horizontal separator line to a submenu to visually group related items. Searches menuMap for the submenu ID, then creates a new CMenu entry with auto-incremented menuIDCount. Sets menuType to MENU_TYPE_ITEM, gizmoType to GIZMO_MENU. Calls AppendMenu with MF_SEPARATOR flag (ID=0, text=NULL) to add the separator line. Returns the internal menu ID on success, 0 if submenu not found.

Separators appear as thin horizontal lines between menu items.

Example

Example.bam
; No example implemented yet