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 


Alternative to the TOOLTIP (99%CPU) problem?

 
Post new topic   Reply to topic    forum.vdsworld.com Forum Index -> General Help
View previous topic :: View next topic  
Author Message
marty
Professional Member
Professional Member


Joined: 10 May 2001
Posts: 789

PostPosted: Fri Mar 08, 2002 5:55 pm    Post subject: Alternative to the TOOLTIP (99%CPU) problem? Reply with quote

Hello again,

Well since the tooltips cannot be used in VDS because of the CPU usage of 99% when you use them. Is there any other alternatives? I would like to have tooltips or something similar like text that changes when the mouse goes over a selected button. Using the dialog set...

Any ideas?
Back to top
View user's profile Send private message Send e-mail Visit poster's website MSN Messenger
LiquidCode
Moderator Team


Joined: 05 Dec 2000
Posts: 1751
Location: Space and Time

PostPosted: Fri Mar 08, 2002 6:27 pm    Post subject: Reply with quote

Sure is, what I do is use a status bar or text somewhere on the
dialog and create a mouseover event to show the "tooltip" in the
status bar or text. If you want an example, let me know.

_________________
Chris
Http://theblindhouse.com
Back to top
View user's profile Send private message Send e-mail Visit poster's website
marty
Professional Member
Professional Member


Joined: 10 May 2001
Posts: 789

PostPosted: Fri Mar 08, 2002 6:38 pm    Post subject: Reply with quote

The problem I have is that in my event loop there's lots of things that has to be check constantly. So I cannot put a WHILE -WEND in it because the rest of my events or bits of code won't be processed until the user removes the mouse from the "hotspot-Tooltip alternative". But if your example if something else then a while-wend... maybe it could work..

Thanks
Back to top
View user's profile Send private message Send e-mail Visit poster's website MSN Messenger
LiquidCode
Moderator Team


Joined: 05 Dec 2000
Posts: 1751
Location: Space and Time

PostPosted: Fri Mar 08, 2002 6:47 pm    Post subject: Reply with quote

I posted ToolTip.dsc on VDSWorld. Check it out and see if it will work for you. If not, I'll keep looking for another solution.
_________________
Chris
Http://theblindhouse.com
Back to top
View user's profile Send private message Send e-mail Visit poster's website
marty
Professional Member
Professional Member


Joined: 10 May 2001
Posts: 789

PostPosted: Fri Mar 08, 2002 6:56 pm    Post subject: Reply with quote

I'll try it out to see how it goes...and let you know

Thanks Wink
Back to top
View user's profile Send private message Send e-mail Visit poster's website MSN Messenger
marty
Professional Member
Professional Member


Joined: 10 May 2001
Posts: 789

PostPosted: Mon Mar 11, 2002 8:43 pm    Post subject: Reply with quote

Well I just tried your example and on Windows 2000 the CPU jumps to 73% on my machine for the compiled version of tooltip.dsc.

So it's not really an alternative.. Wink

And my application jumped from 4% CPU utilization to 25% by including the example.

My application has more things to do during the event loop and timer so that's why it doesnt jump to 73%. But still 25% is very high.

Thanks anyway,,,
Back to top
View user's profile Send private message Send e-mail Visit poster's website MSN Messenger
LiquidCode
Moderator Team


Joined: 05 Dec 2000
Posts: 1751
Location: Space and Time

PostPosted: Mon Mar 11, 2002 8:58 pm    Post subject: Reply with quote

Doh!!! Rolling Eyes Mad

Sorry about that. I'll keep my mind open. Wink

_________________
Chris
Http://theblindhouse.com
Back to top
View user's profile Send private message Send e-mail Visit poster's website
Display posts from previous:   
Post new topic   Reply to topic    forum.vdsworld.com Forum Index -> General Help 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