Copyright © 1998-2006 MultiMedia Soft 
Return to index  
 
SurfaceColor.Color2 property 
 
Type
OLE_COLOR for Visual C++ 
long for Visual Basic
 
 
Syntax
object.SurfaceColor.Color2 [=long]
 
 
Remarks
The secondary RGB color used for calculating the gradient 3D rendering when the SurfaceColor.Render3DType property is set to COLOR_RENDER_2_COLORS. 
In the sample below you can see a button using two colors for its 3D rendering: red is the primary color (set through the SurfaceColor.Color property) and blue is the secondary color. 
 
 
See also
SurfaceColor object. 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
Copyright © 1998-2006 MultiMedia Soft 
Return to index