This topic and its replies were posted before the current version of LEADTOOLS was released and may no longer be applicable.
#1
Posted
:
Friday, November 28, 2008 6:32:01 AM(UTC)
Groups: Registered
Posts: 23
I am using C++ ClassLib 14.0.
I use LAnnotationWindow to load a image and set a handle of a window to it, so the image is displayed very well. But when I want to load another image,
I set NULL as window handle and call free() on this object to free the memory. I found every time when free() is called, the window will be blink.
Do I need to call free()? How can I fix blink?
Thanks.
#2
Posted
:
Sunday, November 30, 2008 12:42:07 AM(UTC)
Groups: Guests
Posts: 3,022
Was thanked: 2 time(s) in 2 post(s)
Please take a look at the following post. The customer had some flickering problems and the suggestion form my colleague solved it.
http://support.leadtools.com/SupportPortal/CS/forums/8429/ShowPost.aspx#8376
#3
Posted
:
Wednesday, December 3, 2008 11:04:34 AM(UTC)
Groups: Registered
Posts: 23
Do I need to call free()?
I saw the sample code. You didn't call it in your sample.
This call cause the blink in my application.
Thanks.
#4
Posted
:
Wednesday, December 3, 2008 11:53:48 AM(UTC)
Groups: Registered
Posts: 23
I just got a solution that is calling EnableAutoPaint(FALSE) before call free().
My application works very well now.
Thanks.
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.