Export (0) Print
Expand All
Expand Minimize
This topic has not yet been rated - Rate this topic


Moves the clipping region of the device context by the specified offsets.

int OffsetClipRgn( 
   int x, 
   int y  
int OffsetClipRgn( 
   SIZE size  

Specifies the number of logical units to move left or right.


Specifies the number of logical units to move up or down.


Specifies the amount to offset.

The new region's type. It can be any one of the following values:

  • COMPLEXREGION   Clipping region has overlapping borders.

  • ERROR   Device context is not valid.

  • NULLREGION   Clipping region is empty.

  • SIMPLEREGION   Clipping region has no overlapping borders.

The function moves the region x units along the x-axis and y units along the y-axis.

Header: afxwin.h

Did you find this helpful?
(1500 characters remaining)
Thank you for your feedback
© 2014 Microsoft. All rights reserved.