Help Center

CRichEdit.SetUIANamemethod

Sets the name of a rich edit control for UI Automation (UIA).

Windowsmethoddocumented

Syntax

FUNCTION SetUIAName (BYVAL hRichEdit AS HWND, BYVAL pwszName AS WTRING PTR) AS DWORD

Parameters

NameDescription
hRichEditThe handle of the rich edit control.
bstrNameA pointer to the null-terminated name string.

Return value

TRUE if the name for UIA is successfully set, otherwise FALSE.

Description

Sets the name of a rich edit control for UI Automation (UIA).

Reference

  • Defined in AfxNova/CRichEdit.inc:1263
  • Documented in Windows/WIndows Controls/CRichEdit Class.md
  • Topic: CRichEdit Class