Kommentar
Åtkomst till den här sidan kräver auktorisering. Du kan prova att logga in eller ändra kataloger.
Åtkomst till den här sidan kräver auktorisering. Du kan prova att ändra kataloger.
Highlights a range of text that is displayed in the current edit control.
void SetHighlight(
int ichStart,
int ichEnd
);
Parameters
Parameter |
Description |
|---|---|
[in] ichStart |
Zero-based index of the first character in the range of text to highlight. |
[in] ichEnd |
Zero-based index of the last character in the range of text to highlight. |
Remarks
This method sends the EM_SETHILITE message, which is described in the Windows SDK.
Requirements
Header: afxwin.h
This control is supported in Windows Vista and later.
Additional requirements for this method are described in Build Requirements for Windows Vista Common Controls.