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 : Friday, November 28, 2008 6:32:01 AM(UTC)

lili  
lili

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.
 

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 : Sunday, November 30, 2008 12:42:07 AM(UTC)

Qasem Lubani  
Guest

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)

lili  
lili

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)

lili  
lili

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.

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