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

CDC::GetGraphicsMode

Retrieves the current graphics mode for the specified device context.

int GetGraphicsMode() const;

Returns the current graphics mode on success. For a list of the values that this method can return, see GetGraphicsMode.

Returns 0 on failure.

To get extended error information, call GetLastError.

This method wraps the Windows GDI function GetGraphicsMode.

Header: afxwin.h

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