bgiCreatePictureBox

Category: BGI GUI

Syntax:

bgiCreatePictureBox:Int(x:Int, y:Int, width:Int, height:Int, parentWin:Int)


Parameters

Returns

Int



Summary

Creates a box to show an image in.

Takes x (Int), y (Int), width (Int), height (Int) and parentWin (Int).

Returns gizmo ID on success, 0 if parent not found.

An image is centred in the box, and one larger than the box shows its middle, cut off at the box's edges (unless bgiSetPictureBoxImage is told to resize).

View detailed documentation online



Example

;No example implemented yet


BambooBasic © 2026 Michael Denathorn