Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic Regarding Flickering of Expand Button (Read 2240 times)
Bala
Full Member
***
Offline


I love YaBB 1G - SP1!

Posts: 156
Joined: Apr 21st, 2009
Regarding Flickering of Expand Button
May 25th, 2009 at 1:20pm
Print Post  
Hi Stoyan,

Following is our objective:
For rectangular node, we are trying that if the mouse enters the node then the expand button should get visible and on mouse leave the expand button visibility should be off.

We have implemented that but are facing some issues.I have emailed a Sample Application to you,please have a look into that.

In that application we are facing following two problems: (Note all the issues are related to rectangular nodes in the application)

1). Expand button Flickers when mouse enter over the expand button of rectangular node.

2). Mouse enter of source node doesn't work for its attached nodes i.e If mouse enters over the image or label then the mouse enter of main node do not fire.

Please look into this issue.

Thanks,
Bala
  
Back to top
 
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: Regarding Flickering of Expand Button
Reply #1 - May 25th, 2009 at 4:22pm
Print Post  
It seems WPF raises MouseEnter / MouseLeave for other Visuals in the visual tree when you hide a Visual that's under the mouse pointer. Try adding some boolean flag that will let you know if the event is raised because you have changed the expander visibility.

Stoyan
  
Back to top
 
IP Logged
 
Anshul
Senior Member
****
Offline


I love YaBB 1G - SP1!

Posts: 316
Joined: Apr 3rd, 2009
Re: Regarding Flickering of Expand Button
Reply #2 - May 26th, 2009 at 5:42am
Print Post  
Hi Stoyan,

I am trying to put a Boolean flag for 1st query. Can you please give some suggestion for 2nd query?

Thanks,
Bala
  
Back to top
 
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: Regarding Flickering of Expand Button
Reply #3 - May 26th, 2009 at 11:37am
Print Post  
Hi Bala,

You could handle MouseEnter for the attached nodes too, and make their handler call the parent's handler.

I hope that helps,
Stoyan
  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint