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 current device context (DC) pen color to the specified color value.
COLORREF SetDCPenColor(
COLORREF crColor
);
Parameters
- crColor
Specifies the new pen color.
Return Value
Nonzero if the function is successful; otherwise 0.
Remarks
This member function utilizes the Win32 function SetDCPenColor, as described in the Windows SDK.
Requirements
Header: afxwin.h