Partager via


Carets Functions

A version of this page is also available for

Windows Embedded CE 6.0 R3

4/8/2010

The following table shows the caret functions, with a description for the purpose of each.

Programming element Description

CreateCaret

This function creates a new shape for the system caret and assigns ownership of the caret to the specified window.

DestroyCaret

This function destroys the caret's current shape, frees the caret from the window, and removes the caret from the screen.

GetCaretBlinkTime

This function returns the elapsed time, in milliseconds, required to invert the caret's pixels.

GetCaretPos

This function copies the caret's position, in client coordinates, to the specified POINT structure.

HideCaret

This function removes the caret from the screen.

SetCaretBlinkTime

This function sets the caret blink time to the specified number of milliseconds.

SetCaretPos

This function moves the caret to the specified coordinates.

ShowCaret

This function makes the caret visible on the screen at the caret's current position.

See Also

Reference

Carets Reference