Nota
L'accesso a questa pagina richiede l'autorizzazione. È possibile provare ad accedere o modificare le directory.
L'accesso a questa pagina richiede l'autorizzazione. È possibile provare a modificare le directory.
Sets the current device context (DC) brush color to the specified color value.
COLORREF SetDCBrushColor(
COLORREF crColor
);
Parameters
- crColor
Specifies the new brush color.
Return Value
If the function succeeds, the return value specifies the previous DC brush color as a COLORREF value.
If the function fails, the return value is CLR_INVALID.
Remarks
This method emulates the functionality of the function SetDCBrushColor, as described in the Windows SDK.
Requirements
Header: afxwin.h