Pelles C forum

C language => Beginner questions => Topic started by: Grincheux on February 29, 2016, 09:56:46 PM

Title: Scrolling window
Post by: Grincheux on February 29, 2016, 09:56:46 PM
I have a very big image (4724 x 3543).
I created a listview with an imagelist.
For such images there are problems with listview/imagelist.
I decide to display the image without the listview/imagelist.
Is there an example for scrolling image. I don't know how to do?

Thanks.
Title: Re: Scrolling window
Post by: TimoVJL on March 01, 2016, 09:16:18 AM
MSDN here (https://msdn.microsoft.com/en-us/library/windows/desktop/hh298420(v=vs.85).aspx)
Holger's old example here (http://www.pellesc.de/source_start.php?file=scroll.zip)
Title: Re: Scrolling window
Post by: Grincheux on March 03, 2016, 07:22:43 AM
Génial!

Even a scrolling with the mouse, extra!

I have compiled the source that's what I wanted.
It seems there is no change to do.

I am Happy!