We recommend using Visual Studio 2017
This documentation is archived and is not being maintained.


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

virtual HRESULT OnExpandButtonClicked(
   BOOL bExpanded

[in] bExpanded

A nonzero value indicates the extra information is displayed; 0 indicates the extra information is hidden.

The default implementation returns S_OK.

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

Header: afxtaskdialog.h