bgiQueryGizmo

Gets the Windows HWND handle for a gizmo control. Takes gizmo (Int). Returns hWnd cast to int via intptr_t.

BGI GUI

Parameters & Returns

Parameters

gizmo Int

Returns

Int

Quick Summary

Gets the Windows HWND handle for a gizmo control. Takes gizmo (Int). Returns hWnd cast to int via intptr_t.

Technical Exegesis...

Gets the Windows HWND (window handle) for a gizmo control as an integer. Searches gizmoMap with find method for direct lookup. If found, returns hWnd cast to int via intptr_t. Returns 0 if gizmo not found.

This function retrieves the native Windows handle for a control. HWND is cast to integer for compatibility with BambooBasic. Use for passing handles to custom DLLs, calling Win32 API functions directly, or advanced Windows programming.

Example

Example.bam
; No example implemented yet