다음을 통해 공유


CTaskDialog::GetCommonButtonFlag

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

int GetCommonButtonFlag(
   int nButtonId
) const;

Parameters

  • [in] nButtonId
    The standard Windows button value.

Return Value

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

Requirements

Header: afxtaskdialog.h

See Also

Reference

CTaskDialog Class

Hierarchy Chart

CTaskDialog::GetCommonButtonId

CTaskDialog::GetCommonButtonCount