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

CDC::InvertRgn

Inverts the colors in the region specified by pRgn.

BOOL InvertRgn( 
   CRgn* pRgn  
);

pRgn

Identifies the region to be inverted. The coordinates for the region are specified in logical units.

Nonzero if the function is successful; otherwise 0.

On monochrome displays, the function makes white pixels black and black pixels white. On color displays, the inversion depends on how the colors are generated for the display.

Header: afxwin.h

Show:
© 2015 Microsoft