Share via


TDM_SET_ELEMENT_TEXT (Compact 2013)

3/28/2014

This message is used by clients to update a text element on the task dialog.

Syntax

TDM_SET_ELEMENT_TEXT
  wParam = (WPARAM) (TASKDIALOG_ELEMENTS) eElement;
  lParam = (LPARAM) (LPCWSTR) pszNewText;

Parameters

  • eElement
    [in] Indicates the element to set. This parameter must be set to one of the TASKDIALOG_ELEMENTS values: TDE_CONTENT for content, and TDE_MAIN_INSTRUCTION for a subtitle.
  • pszNewText
    [in] Pointer to a Unicode string to be used in the text element.

Return Value

The return value is ignored.

Requirements

Header

shellctrls.h

See Also

Reference

Task Dialogs Messages
TDM_UPDATE_ELEMENT_TEXT
TASKDIALOG_ELEMENTS