Skip to content

Latest commit

 

History

History
74 lines (42 loc) · 1.82 KB

tdn-button-clicked.md

File metadata and controls

74 lines (42 loc) · 1.82 KB
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
TDN_BUTTON_CLICKED notification code Windows Controls
apiref
TDN_BUTTON_CLICKED
Commctrl.h
HeaderDef
reference
05/31/2018

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