Share via


SetCaretBlinkTime

A version of this page is also available for

Windows Embedded CE 6.0 R3

4/8/2010

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.

Syntax

BOOL SetCaretBlinkTime(
  UINT uMSeconds
);

Parameters

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

Return Value

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

Remarks

The user can set the blink time using 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 program.

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

Requirements

Header winuser.h
Library Caret.lib
Windows Embedded CE Windows CE 1.0 and later
Windows Mobile Windows Mobile Version 5.0 and later

See Also

Reference

GetCaretBlinkTime
Carets Functions