Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Export (0) Print
Expand All
Expand Minimize

CDC::OffsetWindowOrg

Modifies the coordinates of the window origin relative to the coordinates of the current window origin.

CPoint OffsetWindowOrg( 
   int nWidth, 
   int nHeight  
);

nWidth

Specifies the number of logical units to add to the current origin's x-coordinate.

nHeight

Specifies the number of logical units to add to the current origin's y-coordinate.

The previous window origin (in logical coordinates) as a CPoint object.

Header: afxwin.h

Show:
© 2015 Microsoft