CRichEdit.SetUIANamemethod
Sets the name of a rich edit control for UI Automation (UIA).
Syntax
FUNCTION SetUIAName (BYVAL hRichEdit AS HWND, BYVAL pwszName AS WTRING PTR) AS DWORD
Parameters
| Name | Description | |
|---|---|---|
hRichEdit | The handle of the rich edit control. | |
bstrName | A 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