|
Overview |
|
|
|
Group |
|
|
|
Quick Info
Windows NT
| Yes
| Win95
| Yes
| Win32s
| Yes
| Import Library
| user32.lib
| Header File
| winuser.h
| Unicode
| No
| Platform Notes
| None
|
|
|
SetCaretBlinkTime
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.
BOOL SetCaretBlinkTime(
UINT uMSeconds
| // blink time, in milliseconds
| );
|
|
Parameters
uMSeconds
Specifies the new blink time, in milliseconds.
Return Values
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.
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 application that allow the user to set the
blink time, such as a Control Panel applet.
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 is hung.
See Also
GetCaretBlinkTime
Related Links
Software for Delphi and C++ Builder developers
Software for Visual Studio .NET developers
Software for Visual Basic 6 developers
Delphi Tips&Tricks
MegaDetailed.NET
TMS Scripter Studio Pro components for Delphi/C++Builder
More Online Helps
Win32 Multimedia Programmer's Reference (mmedia.hlp)
OLE Programmer's Reference (ole.hlp)
Microsoft Windows Pen API Programmer's Reference (penapi.hlp)
Microsoft Windows Sockets 2 Reference (sock2.hlp)
Microsoft Windows Telephony API (TAPI) Programmer's Reference (tapi.hlp)
Unix Manual Pages
|