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

CTaskDialog::GetCommonButtonFlag

Converts a standard Windows button to the common button type associated with the CTaskDialog Class.

int GetCommonButtonFlag(
   int nButtonId
) const;

[in] nButtonId

The standard Windows button value.

The value of the corresponding CTaskDialog common button. If there is no corresponding common button, this method returns 0.

Header: afxtaskdialog.h

Show: