Help Center

CTextRange2.UnicodeToHexmethod

Converts the Unicode character(s) preceding the start position of this text range to a hexadecimal number, and selects it.

Windowsmethoddocumented

Syntax

FUNCTION UnicodeToHex () AS HRESULT

Return value

If the method succeeds, it returns NOERROR. Otherwise, it returns an HRESULT error code.

Description

Converts the Unicode character(s) preceding the start position of this text range to a hexadecimal number, and selects it.

Remarks

Some Unicode surrogates for hex values from &h10000 up to &h10FFFF are for internal use:

Reference

  • Defined in AfxNova/CTextRange2.inc:1094
  • Documented in Windows/WIndows Controls/RichEdit/CTextRange2 Class.md
  • Topic: CTextRange2 Class