Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
Retrieves the current graphics mode for the specified device context.
int GetGraphicsMode() const;
Return Value
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.
Remarks
This method wraps the Windows GDI function GetGraphicsMode.
Requirements
Header: afxwin.h