Can someone explain the OLE_Color variable type to me? Is it used for normal colors (like BackColor) or is it specifically for OLE stuff?
Printable View
Can someone explain the OLE_Color variable type to me? Is it used for normal colors (like BackColor) or is it specifically for OLE stuff?
From MSDN
Visual Basic provides four standard data types of special interest to control authors.
OLE_COLOR
The OLE_COLOR data type is used for properties that return colors. When a property is declared as OLE_COLOR, the Properties window will display a color-picker dialog that allows the user to select the color for the property visually, rather than having to remember the numeric equivalent.
An example of the use of OLE_COLOR can be found in "Exposing Properties of Constituent Controls."
OLE_COLOR is treated internally as a Long.
That totally makes sense. Thanks bruce. :)