Export (0) Print
Expand All
MFC
Expand Minimize

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.

If you are using Windows NT, Windows 2000, or Windows, XP, to get extended error information, call GetLastError.

This method wraps the Windows GDI function GetGraphicsMode.

Community Additions

ADD
Show:
© 2014 Microsoft