HRESULT EnableRadioGroup(LPCWSTR groupName, BOOL enable)

This method allows you to enable or disable an entire radio button group. Disabling a radio group disables all the radio button controls in the group as well as any children of those radio buttons that have been added with AddToGroup. See Table 34 and Table 35.

Table 34. EnableRadioGroup

Parameter

Description

groupName

Name of a radio button group that you defined already with a call to AddRadioGroup

Enable

Set to TRUE to enable the radio button group and FALSE to disable the group

 

Table 35. HRESULT EnableRadioGroup

HRESULT

Description

S_OK

Group enabled or disabled

E_INVALIDARG

There is no radio button group with the name you provided

 

Related Topics

IFormController Interface