SetCaretBlinkTime

2.x

  void SetCaretBlinkTime(uMSeconds)    
  UINT uMSeconds; /* blink rate in milliseconds */

The SetCaretBlinkTime function sets the caret blink rate. The blink rate is the elapsed time, in milliseconds, between caret flashes.

Parameters

uMSeconds

Specifies the new blink rate, in milliseconds.

Return Value

This function does not return a value.

Comments

The caret flashes on or off every uMSeconds milliseconds. One complete flash (off-on) takes twice uMSeconds milliseconds.

The caret is a shared resource. A window should set the caret blink rate only if it owns the caret. It should restore the previous rate before it loses the input focus or becomes inactive.

See Also

GetCaretBlinkTime