Share via


TASKDIALOG_BUTTON (Compact 2013)

3/28/2014

This structure contains information used to display a menu item or command link in a task dialog.

Syntax

typedef struct _TASKDIALOG_BUTTON {
    int nButtonID;
    PCWSTR pszButtonText;
} TASKDIALOG_BUTTON;

Parameters

  • nButtonID
    The integer value to be returned when the button is selected.
  • pszButtonText
    Pointer to the string used as the button label. Can be either a null-terminated string or an integer resource ID passed to the MAKEINTRESOURCE macro.

Requirements

Header

shellctrls.h

See Also

Reference

Task Dialogs Structures
TASKDIALOGCONFIG
MAKEINTRESOURCE