Converting Between OLE_COLOR and COLORREF Types (131101)
The information in this article applies to:
- Microsoft OLE Control Developer's Kit (CDK)
This article was previously published under Q131101 SUMMARY
This article shows by example how to use the COleControl::TranslateColor()
method can be used to convert an OLE_COLOR value into a COLORREF value by
using the cast operator.
REFERENCES
For a complete list of the translations performed by OleTranslateColor(),
or for more information about the OLE_COLOR type, please see the "Microsoft
OLE Control Developer's Kit User's Guide and Reference," Appendix D: OLE
Controls Architecture, under the heading "Standard Color Type."
Modification Type: | Minor | Last Reviewed: | 8/16/2005 |
---|
Keywords: | KB131101 |
---|
|