[comp.sys.mac.programmer] help w/ pixmaps and scrollbars

jmidili@hub.cs.jmu.edu (jeff midili) (04/23/91)

I have a 640x512 pixmap that I want to display in a window that is
about 540x412 and then have scroll bars to display the hidden parts
of the image.  Displaying a pixmap is not a problem, and I understand
pretty well how scroll bars work, but how should I combine the two?

Should I just copybits the first 540x412 pixels of the image into the
window, and then do another copybits based on the value returned by
TrackControl()?  Any insight on this would be greatly appreciated.

I will be more than happy to post a summary.

Jeff Midili

jmidili@hub.cs.jmu.edu