Partager via


CMFCToolBarImages::SetTransparentColor

Sets the transparent color of the toolbar images.

COLORREF SetTransparentColor(
   COLORREF clrTransparent 
);

Parameters

  • [in] clrTransparent
    An RGB value.

Return Value

The previous transparent color.

Remarks

When you or the framework call CMFCToolBarImages::Draw, the method does not draw any pixel that matches the color specified by clrTransparent.

Requirements

Header: afxtoolbarimages.h

See Also

Reference

CMFCToolBarImages Class

Hierarchy Chart