Re: Suggestions?

"el_supremo01 <[email protected]>" <[email protected]> Mon, 03 Feb 2003 16:21:07 -0000
Newsgroups gmane.comp.video.image-magick.windows
Message-ID <[email protected]>
--- In [email protected], "Jerry Chappell 
<jlchappell@y...>" <jlchappell@y...> wrote:
> I guess I'm trying to set up a bitmap editing 
> program using ImageMagick that's fast enough that it doesn't flash 
> too much 

Jerry,

Just a shot from the hip on the "flash".
I wrote a program to display a bitmap using ImageMagick. The program 
allowed resizing of the window and scrolling of the image. It did not 
scroll smoothly at first - the screen flashed annoyingly.
I found that the problem was in the InvalidateRect call. I had copied 
some code from a different program and the last argument was set to 
TRUE which blanks the window background before redrawing. Setting it 
to FALSE made the scroll very smooth.

Best Wishes
Pete


To unsubscribe from this group, send an email to:
[email protected]

 

Your use of Yahoo! Groups is subject to http://docs.yahoo.com/info/terms/