bgiCreatePictureBox

Creates a picture box for displaying images. Takes x (Int), y (Int), width (Int), height (Int), and parentWin (Int). Returns gizmo 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 picture box for displaying images. Takes x (Int), y (Int), width (Int), height (Int), and parentWin (Int). Returns gizmo ID on success, 0 if parent not found.

Technical Exegesis...

Creates a picture box control for displaying images. Searches gizmoMap for parent HWND. Handles scroll panels. Auto-increments gizmoIDCount. Creates using "STATIC" class with SS_BITMAP | WS_CHILD | WS_VISIBLE style (displays bitmap images). Creates CGizmo with custom PictureBox type, stores position, dimensions, state (visible=true, enabled=true). Returns gizmo ID on success, 0 if parent not found.

Picture boxes display static images (PNG, JPG, BMP, GIF via GDI+).

Example

Example.bam
; No example implemented yet