bgiGetGroupGizmoChecked

Gets the ID of the checked radio button in a radio group. Takes group (Int). Returns 0 if parentHWND is NULL.

BGI GUI

Parameters & Returns

Parameters

group Int

Returns

Int

Quick Summary

Gets the ID of the checked radio button in a radio group. Takes group (Int). Returns 0 if parentHWND is NULL.

Technical Exegesis...

Gets the ID of the currently checked radio button within a radio button group. Searches gizmoMap for all gizmos with parentID matching group parameter. Collects matching gizmos into list, stores parentHWND. Returns 0 if parentHWND is NULL. Iterates through collected gizmos, calling IsDlgButtonChecked on each. Returns ID of first gizmo with BST_CHECKED state. Returns 0 if no radio button is checked.

This function finds which radio button is selected in a group.

Example

Example.bam
; No example implemented yet