Gets the current vertical scroll position.
Takes scrollPanelID (Int).
Returns the current vertical scroll position of a scroll panel.
BGI GUI
Parameters & Returns
Parameters
scrollPanelIDInt
Returns
Int
Quick Summary
Gets the current vertical scroll position.
Takes scrollPanelID (Int).
Returns the current vertical scroll position of a scroll panel.
Technical Exegesis...
Returns the current vertical scroll position of a scroll panel. Searches gizmoMap for the panel, then calls GetScrollInfo with SIF_POS on the vertical scrollbar. Returns the scroll position in pixels (0 = topmost, increases as scrolled down). Returns 0 if panel not found or has no vertical scrollbar.
Useful for saving/restoring scroll positions or synchronizing multiple scroll panels. The maximum scroll position is (virtualHeight - panelHeight). Position 0 shows the top edge of the virtual canvas.
Returns the current vertical scroll position of a scroll panel. Searches gizmoMap for the panel, then calls GetScrollInfo with SIF_POS on the vertical scrollbar. Returns the scroll position in pixels (0 = topmost, increases as scrolled down). Returns 0 if panel not found or has no vertical scrollbar.
Useful for saving/restoring scroll positions or synchronizing multiple scroll panels. The maximum scroll position is (virtualHeight - panelHeight). Position 0 shows the top edge of the virtual canvas. Use bgiSetScrollPanelScrollY to programmatically scroll to a specific position.