CDC::SetDCPenColor
Visual Studio 2010
Sets the current device context (DC) pen color to the specified color value.
COLORREF SetDCPenColor( COLORREF crColor );
This member function utilizes the Win32 function SetDCPenColor, as described in the Windows SDK.
Remarks on Return Value
COLORREF is the return value type. But, my guess is that is the old or previous value held by the device context. Documentation just says that the return value is non-zero if successful. If find this documentation weak or cryptic for new comers. Older versions of Windows NT help used to be very well documented. That quality seems to be missing here.
- 2/9/2012
- jmsigler2 [Contractor-Consultant]