title | description | ms.assetid | keywords | topic_type | api_name | api_location | api_type | ms.topic | ms.date | |||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
TDN_BUTTON_CLICKED notification code (Commctrl.h) |
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. |
eefe48f8-8a80-4280-8a7e-244d9b699ec7 |
|
|
|
|
|
reference |
05/31/2018 |
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;
-
wParam
-
An int that specifies the ID of the button or comand link that was selected.
-
lParam
-
Must be zero.
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.
Requirement | Value |
---|---|
Minimum supported client |
Windows Vista [desktop apps only] |
Minimum supported server |
Windows Server 2008 [desktop apps only] |
Header |
|