Creates a list view control with columns and rows.
Takes x (Int), y (Int), width (Int), height (Int), and parentWin (Int).
Returns gizmo ID on success, 0 if parent not found.
BGI GUI
Parameters & Returns
Parameters
xInt
yInt
widthInt
heightInt
parentWinInt
Returns
Int
Quick Summary
Creates a list view control with columns and rows.
Takes x (Int), y (Int), width (Int), height (Int), and parentWin (Int).
Returns gizmo ID on success, 0 if parent not found.
Technical Exegesis...
Creates a list view control for displaying data in rows and columns (spreadsheet-like). Searches gizmoMap for parent HWND. Handles scroll panels. Auto-increments gizmoIDCount. Creates using WC_LISTVIEW class with WS_CHILD | WS_VISIBLE | WS_BORDER | LVS_REPORT | LVS_SINGLESEL style (report/details view with columns, single row selection). Enables grid lines and full row select with LVS_EX_GRIDLINES | LVS_EX_FULLROWSELECT extended styles.
Creates a list view control for displaying data in rows and columns (spreadsheet-like). Searches gizmoMap for parent HWND. Handles scroll panels. Auto-increments gizmoIDCount. Creates using WC_LISTVIEW class with WS_CHILD | WS_VISIBLE | WS_BORDER | LVS_REPORT | LVS_SINGLESEL style (report/details view with columns, single row selection). Enables grid lines and full row select with LVS_EX_GRIDLINES | LVS_EX_FULLROWSELECT extended styles. Creates CGizmo with custom ListView type, stores position, dimensions, state. Returns gizmo ID on success, 0 if parent not found.
List views display tabular data with sortable columns. More advanced than list boxes - supports multiple columns, icons, different view modes. Use specialized list view functions to add columns and populate rows. Common for file lists with details (name, size, date), database views, or any multi-column data display. Supports sorting by clicking column headers. Different from simple list boxes which only show single-column text lists.