CMFCImagePaintArea::SetColor
Sets the current drawing color.
void SetColor(
COLORREF color
);
Parameters
Parameter |
Description |
[in] color |
The new drawing color. |
Remarks
When you select a color from the image editor palette bar or color picker, the framework calls this method to update the current drawing color. The initial drawing color is black (a COLORREF value of 0).
The drawing color is used by the image editor dialog box for all drawing modes except for IMAGE_EDIT_MODE_COLOR. For more information about drawing modes, see CMFCImagePaintArea::IMAGE_EDIT_MODE Enumeration.
Requirements
Header: afximagepaintarea.h
See Also
Reference
CMFCImagePaintArea::IMAGE_EDIT_MODE Enumeration