Welcome Guest! To enable all features, please Login or Register.

Notification

Icon
Error

Options
View
Last Go to last post Unread Go to first unread post
#1 Posted : Thursday, July 22, 2010 12:05:30 AM(UTC)

BorisSS  
BorisSS

Groups: Registered
Posts: 5


Hi!
I'm using Leadtools ocx control v16.5 in my VB-6 projects.
The question is how to avoid flickering of the floater when floater is resizing?
It's wonderfull that floater doesn't flick if you move it. It flicks only if you resize it.
Example project that demonstrate this phenomena is attached.

Thanks in advance,
Boris.
 

Try the latest version of LEADTOOLS for free for 60 days by downloading the evaluation: https://www.leadtools.com/downloads

Wanna join the discussion? Login to your LEADTOOLS Support accountor Register a new forum account.

#2 Posted : Thursday, July 22, 2010 12:14:32 AM(UTC)

BorisSS  
BorisSS

Groups: Registered
Posts: 5


Sorry. Example project is attached here.
File Attachment(s):
Floater Flickering Example.zip (286kb) downloaded 26 time(s).
 
#3 Posted : Thursday, July 22, 2010 7:51:46 AM(UTC)

Adnan Ismail  
Guest

Groups: Guests
Posts: 3,022

Was thanked: 2 time(s) in 2 post(s)

Boris,
I tried to find a way to reduce the flicker but couldn't. You could work around it by changing the behavior as follows:
1. When the mode is 'move', keep the movement with the mouse like it is now.
2. When the mode is 'resize', do not call SetFloaterDstRect() from the mouseMove event, but draw a bounding rectangle of the new floater dest rect on the MouseMove event, and update the floater actual rectangle on the MouseUp event.
 
#4 Posted : Tuesday, December 7, 2010 4:54:34 AM(UTC)

BorisSS  
BorisSS

Groups: Registered
Posts: 5


<BLOCKQUOTE><table width="85%"><tr><td class="txt4"><img src="/SupportPortal/CS/Themes/default/images/icon-quote.gif">&nbsp;<strong>Adnan Ismail wrote:</strong></td></tr><tr><td class="quoteTable"><table width="100%"><tr><td width="100%" valign="top" class="txt4">Boris,<br> ... 2. When the mode is 'resize', do not call SetFloaterDstRect() from the mouseMove event, but draw a bounding rectangle of the new floater dest rect on the MouseMove event, and update the floater actual rectangle on the MouseUp event.</td></tr></table></td></tr></table></BLOCKQUOTE>
Thank you Adnan Ismail!<br> But your decision is unacceptable for me! I use a float for a computer fitting of clothes and change of the clothes size should be visible and without flickering. Whether it is possible will ask your programmers to improve this issue?
 
#5 Posted : Tuesday, December 7, 2010 4:59:22 AM(UTC)

BorisSS  
BorisSS

Groups: Registered
Posts: 5


Thank you Adnan Ismail!
But your decision is unacceptable for me! I use a floater for a computer fitting of clothes and change of the clothes size should be visible and without flickering. Whether it is possible to ask your programmers to improve this issue?
 
#6 Posted : Wednesday, December 8, 2010 8:08:13 AM(UTC)

Adnan Ismail  
Guest

Groups: Guests
Posts: 3,022

Was thanked: 2 time(s) in 2 post(s)

I want to try to find a solution or different workaround. Please send an email to support@leadtools.com and mention this forum post and I will investigate further.
 
#7 Posted : Tuesday, January 11, 2011 8:44:55 PM(UTC)

leodown  
leodown

Groups: Registered
Posts: 4


[Spam post deleted by moderator]
 
#8 Posted : Thursday, March 24, 2011 1:14:17 AM(UTC)

BorisSS  
BorisSS

Groups: Registered
Posts: 5


Problem is fixed. Y
Special thanks to Adnan Ismail and Leadtools engineers.
 
You cannot post new topics in this forum.
You cannot reply to topics in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.

Powered by YAF.NET | YAF.NET © 2003-2020, Yet Another Forum.NET
This page was generated in 0.347 seconds.