共用方式為


CTaskDialog::ClickRadioButton

Clicks a radio button programmatically.

protected:
void ClickRadioButton(
   int nRadioButtonID
) const;

Parameters

  • [in] nRadioButtonID
    The ID of the radio button to click.

Remarks

This method generates the windows message TDM_CLICK_RADIO_BUTTON.

Requirements

Header: afxtaskdialog.h

See Also

Reference

CTaskDialog Class

Hierarchy Chart

CTaskDialog::ClickCommandControl