[ros-kernel] Re: [ros-cvs] CVS Update: reactos (CursorBlinkRate)
skywing at valhallalegends.com
Sat Nov 22 12:54:42 CET 2003
I think the control panel applet might use that function for its
From: ros-kernel-bounces at reactos.com [mailto:ros-kernel-bounces at reactos.com]
On Behalf Of Richard Campbell
Sent: Saturday, November 22, 2003 4:27 AM
To: ReactOS Kernel List
Subject: Re: [ros-kernel] Re: [ros-cvs] CVS Update: reactos
The SetCaretBlinkTime 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.
[in] Specifies the new blink time, in milliseconds.
If the function succeeds, the return value is nonzero.
If the function fails, the return value is zero. To get extended error
information, call GetLastError.
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 application that allow the user to set the blink
time, such as a Control Panel applet. (wouldn't this suggest that the
control panel applet uses this call? this is what i based my changes off
If you change the blink time, subsequently activated applications will use
the modified blink time, even if you restore the previous blink time when
you lose the keyboard focus or become inactive. This is due to the
multithreaded environment, where deactivation of your application is not
synchronized with the activation of another application. This feature allows
the system to activate another application even if the current application
Declared in Winuser.h, include Windows.h
Minimum operating systems
Windows 95, Windows NT 3.1
Carets Overview, GetCaretBlinkTime
Thomas Weidenmueller wrote:
Richard Campbell wrote:
Module name: reactos
Changes by: rcampbell at mok.osexperts.com.(none) 03/11/21 17:49:39
CursorBlinkRate is now loaded via the registry.
Ros-cvs mailing list
Ros-cvs at reactos.com
Windows doesn't change the value in the registry if you call
SetCaretBlinkTime() and it also doesn't query the registry if you call
GetCaretBlinkTime(). The value is loaded after login (i guess through
winlogon.exe) from the registry and it is only saved to the registry if you
change it with the control panel.
Ros-kernel mailing list
Ros-kernel at reactos.com
More information about the Ros-kernel