Important:
This is retired content. This content is outdated and is no longer being maintained. It is provided as a courtesy for individuals who are still using these technologies. This content may contain URLs that were valid when originally published, but now link to sites or pages that no longer exist.
A version of this page is also available for
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 POINTstructure.

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