Copyright © 1998-2010 MultiMedia Soft

ShadowColor property

Previous pageReturn to chapter overviewNext page


OLE_COLOR for Visual C++

long for Visual Basic




object.ShadowColor [=long]




The color used to render the shadow under the button when the ShadowMode property is not set to SHADOW_NONE (0).

If you leave this property to an undefined state (-1), the control calculates the optimal shadow color in relation to the current surface color.

This property can also be applied to set the color used to shadow the sunken effect on a custom shaped flat button.


For further details about colors change, see the How to change the button colors section.