GetSelectedRadioButtons

int GetSelectedRadioButtons (int panelHandle, int *activeButton, int numButtons, . . .);

Purpose

This function determines which button from a group of radio buttons is in the On state.

Parameters

Input
Name Type Description
panelHandle integer The specifier for a particular panel that is currently in memory.

You obtain the handle by calling the LoadPanel, NewPanel, or DuplicatePanel function.
numButtons integer Specify the number of radio buttons that you pass in the listOfAllRadioButtons parameter.
listOfAllRadioButtons any type (passed by value) Pass a comma separated list of control IDs for each radio button in the radio button group.
Output
Name Type Description
activeButton integer * Returns the control ID of the radio button that is in the On state.

Return Value

Name Type Description
status integer Returns a negative error code if an error occurs.