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.
Sets the graphics mode for the specified device context.
int SetGraphicsMode(
int iMode
);
Parameters
- iMode
Specifies the graphics mode. For a list of the values that this parameter can take, see SetGraphicsMode.
Return Value
Returns the old graphics mode on success.
Returns 0 on failure. To get extended error information, call GetLastError.
Remarks
This method wraps the Windows GDI function SetGraphicsMode.
Requirements
Header: afxwin.h