bgiCreateScrollPanel

Creates a scrollable panel with virtual canvas. Takes x (Int), y (Int), width (Int), height (Int), and parentWin (Int). Returns panel ID on success, 0 if parent not found.

BGI GUI

Parameters & Returns

Parameters

x Int
y Int
width Int
height Int
parentWin Int

Returns

Int

Quick Summary

Creates a scrollable panel with virtual canvas. Takes x (Int), y (Int), width (Int), height (Int), and parentWin (Int). Returns panel ID on success, 0 if parent not found.

Technical Exegesis...

Creates a scrollable panel with a virtual canvas larger than the visible area. Searches gizmoMap for parent HWND. Auto-increments gizmoIDCount. Creates main panel window, then creates inner "canvas" window for content. Adds vertical and horizontal scrollbars with WS_VSCROLL | WS_HSCROLL. Initializes scroll info (SCROLLINFO). Creates CGizmo with custom scrollPanel type, stores both panel and canvas HWNDs, position, dimensions. Returns panel ID on success, 0 if parent not found.

Example

Example.bam
; No example implemented yet