int ScrollWindowEx( int dx, int dy, LPCRECT lpRectScroll, LPCRECT lpRectClip, CRgn* prgnUpdate, LPRECT lpRectUpdate, UINT flags );
请问这个函数的lpRectScroll和lpRectClip这两个参数有什么不同?分别起什么作用?怎么使用它们?谢谢~
请问这个函数的lpRectScroll和lpRectClip这两个参数有什么不同?分别起什么作用?怎么使用它们?谢谢~
顺便把msnd的解释给你
lpRectScrollPoints to a RECT structure that specifies the portion of the client area to be scrolled. If this parameter is NULL, the entire client area is scrolled.lpRectClipPoints to a RECT structure that specifies the clipping rectangle to scroll. This structure takes precedence over the rectangle pointed to by lpRectScroll. Only bits inside this rectangle are scrolled. Bits outside this rectangle are not affected even if they are in the lpRectScroll rectangle. If this parameter is NULL, no clipping is performed on the scroll rectangle.