Partager via


TDN_BUTTON_CLICKED (Compact 2013)

3/28/2014

The task dialog sends this notification when the user selects a button or command link in the task dialog.

Syntax

TDN_BUTTON_CLICKED
  wParam = (WPARAM) (int) nButtonID;
  lParam = 0;

Parameters

  • nButtonID
    [in] The button ID corresponding to the button selected.
  • lParam
    Not used.

Return Value

TRUE indicates that the user selected a button or command link in the task dialog. Otherwise FALSE.

Remarks

To prevent the task dialog from closing, the application must return E_FAIL; otherwise the task dialog closes and the original application call returns the button ID.

Requirements

Header

shellctrls.h

See Also

Reference

Task Dialogs Notifications