bgiSetToolbarImageStrip

Loads a horizontal image strip containing button icons. Takes toolbarID (Int), imagePath (String), and buttonSize (Int). Returns 0 if load fails.

BGI GUI

Parameters & Returns

Parameters

toolbarID Int
imagePath String
buttonSize Int

Returns

Int

Quick Summary

Loads a horizontal image strip containing button icons. Takes toolbarID (Int), imagePath (String), and buttonSize (Int). Returns 0 if load fails.

Technical Exegesis...

Loads a horizontal image strip containing toolbar button icons, dividing it into individual button images. Searches gizmoMap for the toolbar ID. Converts imagePath from UTF-8 to wide string. Loads image with GDI+ Bitmap (supports PNG, JPG, GIF, BMP, TIFF formats). Returns 0 if load fails. Converts GDI+ bitmap to HBITMAP with white background (RGB(255,255,255)) for transparency masking.

Example

Example.bam
; No example implemented yet