1.14 Caret Functions

Caret functions affect the Windows caret, which is a flashing line, block, or bitmap that marks a location in a window's client area. The caret is especially useful in word-processing applications to mark a location in text for keyboard editing. These functions create, destroy, display, hide, and alter the blink time of the caret. The following list briefly describes each caret function:

Function Description  
CreateCaret Creates a caret.  
DestroyCaret Destroys the current caret.  
GetCaretBlinkTime Returns the caret flash rate.  
GetCaretPos Returns the current caret position.  
HideCaret Removes a caret from a given window.  
SetCaretBlinkTime Establishes the caret flash rate.  
SetCaretPos Moves a caret to the specified position.  
ShowCaret Displays the newly created caret or redisplays a hidden caret.