Sets the page size (thumb size) of a scrollbar control.
Takes scrollbarID (Int) and pageSize (Int).
Returns nothing.
BGI GUI
Parameters & Returns
Parameters
scrollbarIDInt
pageSizeInt
Returns
Void
Quick Summary
Sets the page size (thumb size) of a scrollbar control.
Takes scrollbarID (Int) and pageSize (Int).
Returns nothing.
Technical Exegesis...
Sets the page size (thumb size) of a scrollbar control. Searches gizmoMap for scrollbarID. If found, gets CustomScrollbarData* via GetWindowLongPtr(GWLP_USERDATA). Sets data->pageSize=pageSize. Calls InvalidateRect to trigger scrollbar redraw. No return value.
This function controls the scrollbar thumb's visual size, representing the visible portion relative to total content. Larger pageSize = larger thumb (more content visible). Typically pageSize = visible_area_size, range = total_content_size.
Sets the page size (thumb size) of a scrollbar control. Searches gizmoMap for scrollbarID. If found, gets CustomScrollbarData* via GetWindowLongPtr(GWLP_USERDATA). Sets data->pageSize=pageSize. Calls InvalidateRect to trigger scrollbar redraw. No return value.
This function controls the scrollbar thumb's visual size, representing the visible portion relative to total content. Larger pageSize = larger thumb (more content visible). Typically pageSize = visible_area_size, range = total_content_size. Default pageSize is (max-min)/10 (10% of range). InvalidateRect updates visual appearance immediately. pageSize also affects scroll increments in some implementations (page up/down behavior). Use when viewport size changes or zoom level changes. Works with both vertical and horizontal scrollbars. Common pattern: window resizes, calculate new visible area, call bgiSetScrollbarPageSize to update thumb size.