Partager via


CTaskDialog::ClickCommandControl

Clicks a command button control or common button programmatically.

protected:
void ClickCommandControl(
   int nCommandControlID
) const;

Parameters

  • [in] nCommandControlID
    The command ID of the control to click.

Remarks

This method generates the windows message TDM_CLICK_BUTTON.

Requirements

Header: afxtaskdialog.h

See Also

Reference

CTaskDialog Class

Hierarchy Chart

CTaskDialog::ClickRadioButton