Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
TASKDIALOG_BUTTON
Collapse the table of content
Expand the table of content

TASKDIALOG_BUTTON structure

The TASKDIALOG_BUTTON structure contains information used to display a button in a task dialog. The TASKDIALOGCONFIG structure uses this structure.

Syntax


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

Members

nButtonID

Type: int

Indicates the value to be returned when this button is selected.

pszButtonText

Type: PCWSTR

Pointer that references the string to be used to label the button. This parameter can be either a null-terminated string or an integer resource identifier passed to the MAKEINTRESOURCE macro. When using Command Links, you delineate the command from the note by placing a new line character in the string.

Requirements

Minimum supported client

Windows Vista [desktop apps only]

Minimum supported server

Windows Server 2008 [desktop apps only]

Header

Commctrl.h

 

 

Community Additions

ADD
Show:
© 2015 Microsoft