FAQFAQ   SearchSearch   MemberlistMemberlist   UsergroupsUsergroups   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

Firing OnHover tooltips multiple times for List control

 
Post new topic   Reply to topic     Forum Index -> DFL
View previous topic :: View next topic  
Author Message
Lynn



Joined: 27 Aug 2004
Posts: 89

PostPosted: Mon Apr 25, 2005 6:00 pm    Post subject: Firing OnHover tooltips multiple times for List control Reply with quote

I've been inactive on using DLF since December. Looks like some great progress has been taking place. Thanks.

I was hoping you could review and enhance how tooltips are handled for a list control. It has odd behavior which makes it less than fully functional.

Quote:
Quote:
Quote:
Lynn wrote (back in December):
Also, it only seems to work once. It doesn't seem to "track" as the mouse moves to different ListBox entries.
Vathix wrote:
DFL just fires the hover event when receiving the WM_MOUSEHOVER message. Maybe you have to work around it with a timer or something..
Lynn wrote:
Looking at it a bit longer, the ToolTip seems to work this way ... it stays visible until the mouse cursor touches it. If the ToolTip appears below the ListBox entry, it is 'dismissed' when you move the mouse lower and actually touch the tooltip. If you move up, the previous ToolTip stays visible.


This tutorial demonstrates this behavior:
http://dsource.org/tutorials/index.php?show_example=139

The normal behavior for the Win32 native api and MFC is that new tooltips show up as you move the mouse over different list items ... tracking.

In the previous thread, you suggested a user implemented timer ... I suppose to dismiss the tooltip and 're-arm' it for another onhover to be allowed to show up. Can you incorporate this kind of logic inside the tip class?
Back to top
View user's profile Send private message
Chris Miller



Joined: 27 Mar 2004
Posts: 514
Location: The Internet

PostPosted: Tue Apr 26, 2005 3:46 am    Post subject: Re: Firing OnHover tooltips multiple times for List control Reply with quote

Lynn wrote:
I was hoping you could review and enhance how tooltips are handled for a list control. It has odd behavior which makes it less than fully functional.

All right, I'll look into it more. Glad to have you back.
- Chris
Back to top
View user's profile Send private message
Chris Miller



Joined: 27 Mar 2004
Posts: 514
Location: The Internet

PostPosted: Fri May 20, 2005 4:36 am    Post subject: tiplist.d Reply with quote

Try this, http://www.dprogramming.com/tiplist.html - or without colors, http://www.dprogramming.com/tiplist.d
- Chris
Back to top
View user's profile Send private message
Lynn



Joined: 27 Aug 2004
Posts: 89

PostPosted: Fri May 20, 2005 6:32 pm    Post subject: Reply with quote

First look .... VERY GOOD. Thanks!
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic     Forum Index -> DFL All times are GMT - 6 Hours
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


Powered by phpBB © 2001, 2005 phpBB Group