2006. június 18., vasárnap

Set the Cursor Speed


Problem/Question/Abstract:

How to set the cursor speed

Answer:

This is an easy one. Just put a simple line in the form create method and all you text input component will receive the message.

Line is:

SetCaretBlinkTime(Speed);

Where speed is an integer

Exemple:

SetCaretBlinkTime(500);

The more the integer, the more time it take to flash.

Be aware that if you don't reset your cursor speed your cursor speed will remain the same for all you windows session. Just execute this line, close you app and come back here. Try to type an url in the adress bar you'll see.

SetCaretBlinkTime(1);

Nincsenek megjegyzések:

Megjegyzés küldése