Export (0) Print
Expand All
MFC
Expand Minimize

CDC::SetGraphicsMode 

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.

Returns the old graphics mode on success.

Returns 0 on failure. To get extended error information, call GetLastError.

This method wraps the Windows GDI function SetGraphicsMode.

Community Additions

ADD
Show:
© 2014 Microsoft