BOOL SetCaretBlinkTime(wMSeconds) | |||||
UINT wMSeconds; | /* blink rate in milliseconds | */ |
This function sets the caret blink rate (elapsed time between caret flashes) to the number of milliseconds specified by the wMSeconds parameter. The caret flashes on or off each wMSeconds milliseconds. This means one complete flash (on-off-on) takes 2 times wMSeconds milliseconds.
wMSeconds
Specifies the new blink rate (in milliseconds).
TRUE is returned for success, FALSE for failure.
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 keyboard focus or becomes inactive.
GetCaretBlinkTime