Was this page helpful?
Your feedback about this content is important. Let us know what you think.
Additional feedback?
1500 characters remaining
Collapse the table of content
Expand the table of content


Retrieves the origin (in device units) of the brush currently selected for the device context.

CPoint GetBrushOrg( ) const;

The current origin of the brush (in device units) as a CPoint object.

The initial brush origin is at (0,0) of the client area. The return value specifies this point in device units relative to the origin of the desktop window.

Header: afxwin.h

© 2015 Microsoft