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
subMenuInt
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.
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. Common pattern: group related items (New/Open/Save separator Close/Exit, or Cut/Copy/Paste separator Select All). Separators cannot be clicked or selected. They're purely visual elements for organizing menu structure.