int ScrollWindowEx( int dx, int dy, LPCRECT lpRectScroll, LPCRECT lpRectClip, CRgn* prgnUpdate, LPRECT lpRectUpdate, UINT flags ); 
请问这个函数的lpRectScroll和lpRectClip这两个参数有什么不同?分别起什么作用?怎么使用它们?谢谢~

解决方案 »

  1.   

    没用过,帮你顶一下,
    顺便把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.
      

  2.   

    MSDN俺已经看了N遍了,不过就是不知道“clipping rectangle”作何解?你知道的,直译出来的意思和MS本来的意思会相差甚远的~