TDM_CLICK_BUTTON message

Simulates the action of a button click in a task dialog.

Parameters

wParam [in]

An int that specifies the ID of the button to be clicked.

lParam [in]

Must be zero.

Return value

The return value is ignored.

Remarks

The button ID specified by wParam is sent to the TaskDialogCallbackProc callback function as part of a TDN_BUTTON_CLICKED notification code. After the callback function returns, the task dialog is closed if S_OK was returned from the callback function. If S_FALSE was returned from the callback function, the task dialog remains active.

Requirements

Requirement Value
Minimum supported client
Windows Vista [desktop apps only]
Minimum supported server
Windows Server 2008 [desktop apps only]
Header
Commctrl.h