CTaskDialog::OnCommandControlClick

The framework calls this method when the user clicks a command button control.

virtual HRESULT OnCommandControlClick(
   int nCommandControlID
);

Parameters

  • [in] nCommandControlID
    The ID of the command button control that the user selected.

Return Value

The default implementation returns S_OK.

Remarks

Override this method in a derived class to implement custom behavior.

Requirements

Header: afxtaskdialog.h

See Also

Reference

CTaskDialog Class

Hierarchy Chart

CTaskDialog::TaskDialogCallback