Knowledge Base

How To Pan and Scroll in Windows

Article ID: 11619

Article Last Modified on 7/11/2005


APPLIES TO


This article was previously published under Q11619

SUMMARY

When using bitmaps, the mapping mode is ignored and physical units (in other words, MM_TEXT pixels) are used. It is not necessary to use the extent/origin routines to keep track of the logical origin.

If scrolling is desired and if there are no child windows in the client area, it is best to BitBlt the client area to scroll it, and PatBlt the uncovered area with the default brush.

Keywords: kbhowto kbwndw KB11619