Copyright © 1998-2010 MultiMedia Soft

ColorSurfaceInternal property

Previous pageReturn to chapter overviewNext page


CSurfaceColor for Visual C++

BTNENHLib4.SurfaceColor for Visual Basic




object.ColorSurfaceInternal [=BTNENHLib4.SurfaceColor]




Background color settings of the internal portion of the button surface when a special effect has been applied (see SpecialEffect property for details about special effects).


If this color is left undefined, the ColorSurfaceNormal property settings are kept: you can swap the colors of the internal portion with the colors of the external portion through the SwapEffectsColors property.

This property is ignored when the Surface property is set to SURFACE_VISTA_AERO, SURFACE_OFFICE_2003, SURFACE_OFFICE_2007 and no special effect has been set through the SpecialEffect property.

This property encapsulates the functionality of the SurfaceColor object and the ISurfaceColor COM interface.

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