bgiSetScrollPanelVirtualSize

Sets the virtual canvas size for a scroll panel. Takes scrollPanelID (Int), virtualWidth (Int), and virtualHeight (Int). Returns nothing.

BGI GUI

Parameters & Returns

Parameters

scrollPanelID Int
virtualWidth Int
virtualHeight Int

Returns

Void

Quick Summary

Sets the virtual canvas size for a scroll panel. Takes scrollPanelID (Int), virtualWidth (Int), and virtualHeight (Int). Returns nothing.

Technical Exegesis...

Sets the total scrollable area (virtual canvas) size for a scroll panel. Searches gizmoMap for the scroll panel. Updates the internal canvas window size and scroll range. Calls SetScrollInfo with SIF_RANGE to configure scrollbar ranges based on virtual size minus visible size. The scrollbars automatically appear/disappear based on whether virtual size exceeds panel dimensions. Takes no action if panel not found.

The virtual size determines the total area available for placing controls.

Example

Example.bam
; No example implemented yet