bgiAddListViewColumn

Adds a column header to a list view control. Takes listViewID (Int), text (String), and width (Int). Returns 1 on success, 0 if list view not found.

BGI GUI

Parameters & Returns

Parameters

listViewID Int
text String
width Int

Returns

Int

Quick Summary

Adds a column header to a list view control. Takes listViewID (Int), text (String), and width (Int). Returns 1 on success, 0 if list view not found.

Technical Exegesis...

Adds a column header to a list view control with specified text and width. Searches gizmoMap for the list view ID. Creates LVCOLUMN structure with LVCF_FMT | LVCF_WIDTH | LVCF_TEXT mask. Sets format to LVCFMT_LEFT (left-aligned text). Sets column width in pixels. Gets current column count with Header_GetItemCount on ListView_GetHeader. Inserts column at end with ListView_InsertColumn. Returns 1 on success, 0 if list view not found.

Example

Example.bam
; No example implemented yet