Click to See Complete Forum and Search --> : OLE_COLOR


April 22nd, 1999, 02:28 PM
OLE_COLOR is long, how do object browsers know the difference,
i.e. #import gives OLE_COLOR not long for return type.
VB propertybrowser gives pallet of colors etc.
VT_COLOR = VT_I4 = 3 so no way to tell from that, and
this is true even if dispid are not special such as DISPID_FORECOLOR.

mihai
April 26th, 1999, 11:16 AM
The OLE_COLOR can be a index of a sys color, or a specific RGB, depends on first byte of the long.
Sincerely, Mihai