Muokkaa

Jaa


TDN_BUTTON_CLICKED notification code

Sent by a task dialog when the user selects a button or command link in the task dialog. This notification code is received only through the task dialog callback function, which can be registered using the TaskDialogIndirect method.

TDN_BUTTON_CLICKED  

   WPARAM wParam;
   LPARAM lParam;

Parameters

wParam

An int that specifies the ID of the button or comand link that was selected.

lParam

Must be zero.

Return value

To prevent the task dialog from closing, the application must return S_FALSE, otherwise the task dialog is closed and the button ID is returned via the original application call.

Requirements

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