Nóta
Aðgangur að þessari síðu krefst heimildar. Þú getur prófað aðskrá þig inn eða breyta skráasöfnum.
Aðgangur að þessari síðu krefst heimildar. Þú getur prófað að breyta skráasöfnum.
Sets the character index at which to locate the caret. You can use this macro or send the EM_SETCARETINDEX message explicitly.
Syntax
void Edit_SetCaretIndex(
HWND hwndCtl,
int newCaretPosition
);
Parameters
hwndCtl
A handle to the edit control.
newCaretPosition
The character index.
Return value
None
Requirements
| Requirement | Value |
|---|---|
| Minimum supported client | Windows 10, version 1809 [desktop apps only] |
| Minimum supported server | Windows Server [desktop apps only] |
| Target Platform | Windows |
| Header | commctrl.h |