bgiSetScrollbarPageSize

Sets the page size (thumb size) of a scrollbar control. Takes scrollbarID (Int) and pageSize (Int). Returns nothing.

BGI GUI

Parameters & Returns

Parameters

scrollbarID Int
pageSize Int

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.

Example

Example.bam
; No example implemented yet