SetCaretBlinkTime

This function sets the caret blink time to the specified number of milliseconds. The blink time is the elapsed time, in milliseconds, required to invert the caret's pixels.

At a Glance

Header file: Winuser.h
Windows CE versions: 1.0 and later

Syntax

BOOL SetCaretBlinkTime(UINT wMSeconds);

Parameters

uMSeconds

[in] Unsigned integer that contains the new blink time, in milliseconds.

Return Values

Nonzero indicates success. Zero indicates failure. To get extended error information, call GetLastError.

Remarks

The user can set the blink time using the Control Panel. Applications should respect the setting that the user has chosen. The SetCaretBlinkTime function should only be used by applications that allow the user to set the blink time, such as a Control Panel applet.

Changing the caret blink time in one application does not affect the blink time in subsequently loaded applications.

See Also

GetCaretBlinkTime