Visual Studio 2010 - Visual C++
CDC::SetPixelV
Sets the pixel at the specified coordinates to the closest approximation of the specified color.
BOOL SetPixelV( int x, int y, COLORREF crColor ); BOOL SetPixelV( POINT point, COLORREF crColor );
Parameters
Return Value
Nonzero if the function is successful; otherwise 0.
Remarks
The point must be in both the clipping region and the visible part of the device surface. Not all devices support the member function. For more information, see the RC_BITBLT capability in the CDC::GetDeviceCaps member function. SetPixelV is faster than SetPixel because it does not need to return the color value of the point actually painted.
Requirements
Header: afxwin.h
See Also