CTaskDialog::GetCommonButtonCount

Retrieves the number of common buttons.

int GetCommonButtonCount() const;

Return Value

The number of common buttons available.

Remarks

The common buttons are the default buttons that you provide to CTaskDialog::CTaskDialog. The CTaskDialog Class displays the buttons along the bottom of the dialog box.

The enumerated list of buttons is provided in CommCtrl.h.

Requirements

Header: afxtaskdialog.h

See Also

Reference

CTaskDialog Class

Hierarchy Chart

CTaskDialog::GetCommonButtonFlag

CTaskDialog::GetCommonButtonId