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


Converts one of the common button types associated with the CTaskDialog Class to a standard Windows button.

int GetCommonButtonId(
   int nFlag

[in] nFlag

The common button type associated with the CTaskDialog class.

The value of the corresponding standard Windows button. If there is no corresponding Windows button, the method returns 0.

Header: afxtaskdialog.h