How To Pan and Scroll in Windows (11619)



The information in this article applies to:

  • Microsoft Platform Software Development Kit (SDK) 1.0

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.


Modification Type:MinorLast Reviewed:7/11/2005
Keywords:kbhowto kbWndw KB11619