forum.vdsworld.com Forum Index forum.vdsworld.com
Visit VDSWORLD.com
 
 FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 


Get cursor blink time in milliseconds

 
Post new topic   Reply to topic    forum.vdsworld.com Forum Index -> Advanced VDS 5 Source Code
View previous topic :: View next topic  
Author Message
FreezingFire
Admin Team


Joined: 23 Jun 2002
Posts: 3508

PostPosted: Mon Jul 21, 2003 5:11 pm    Post subject: Get cursor blink time in milliseconds Reply with quote

Here is a very simple script demonstrating the GetCaretBlinkTime API.

"The GetCaretBlinkTime function returns the elapsed time, in milliseconds,
required to invert the caret's pixels. The user can set this value using the
Control Panel."

Code:
LOADLIB user32
info @lib(user32,GetCaretBlinkTime,INT:,NIL:)
FREELIB user32

_________________
FreezingFire
VDSWORLD.com
Site Admin Team
Back to top
View user's profile Send private message Visit poster's website
CodeScript
Moderator Team


Joined: 08 Jun 2003
Posts: 1054
Location: India

PostPosted: Mon Jul 21, 2003 5:20 pm    Post subject: Reply with quote

FF what are the possible uses?
BTW SetCaretBlinkTime can be used to change it.
However this is not done usually as caret is a shared resource and if the app crashes in betwwen then the changed blink time will persist.
Nice to see U posting API examples. Very Happy

_________________
Regards
- CodeScript
Arrow Give your application a professional look with the VDSGUI Extension
Back to top
View user's profile Send private message Visit poster's website
FreezingFire
Admin Team


Joined: 23 Jun 2002
Posts: 3508

PostPosted: Mon Jul 21, 2003 5:23 pm    Post subject: Reply with quote

Really I don't know what I would use it for but since it worked I thought
I would share it. I just tried again at C and I understand it so much better.
I have even made a non VDS DLL in C and called it with VDS. It seems a
lot easier to do that once you understand it. Hopefully I will be posting
more advanced examples soon. Very Happy

_________________
FreezingFire
VDSWORLD.com
Site Admin Team
Back to top
View user's profile Send private message Visit poster's website
CodeScript
Moderator Team


Joined: 08 Jun 2003
Posts: 1054
Location: India

PostPosted: Mon Jul 21, 2003 5:42 pm    Post subject: Reply with quote

Nice Very Happy to hear U learn C++.
I wrote a C++ dll for my wavemix project too !

_________________
Regards
- CodeScript
Arrow Give your application a professional look with the VDSGUI Extension
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    forum.vdsworld.com Forum Index -> Advanced VDS 5 Source Code All times are GMT
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum




Twitter@vdsworld       RSS

Powered by phpBB © 2001, 2005 phpBB Group