Share via


CTaskDialog::OnExpandButtonClick

The framework calls this method when the user clicks on the expansion button.

virtual HRESULT OnExpandButtonClicked(
   BOOL bExpanded
);

Parameters

  • [in] bExpanded
    A nonzero value indicates the extra information is displayed; 0 indicates the extra information is hidden.

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