Search
Box.AddAeroEffect Method
See Also
 



Adds an Aero effect to this box.

 Syntax

VB6  Copy Code

Public Sub AddAeroEffect( _
    ByVal opacity As Single, _
    ByVal shadeColor As Long, _
    ByVal innerOutlineColor As Long _
)

C++  Copy Code

public:
void AddAeroEffect (
    float opacity,
    unsigned int shadeColor,
    unsigned int innerOutlineColor
)

 Parameters

opacity

A float value between 0 and 1 specifying the opacity to apply to the node's background.

shadeColor

The color of the shade.

innerOutlineColor

The color of the inner outline.

 Remarks

The Aero effect adds semi-transparency to the node and emphasizes its outline by adding a shade and an inner stroke.

 Example

The following example applies an Aero effect to a box:

VB6  Copy Code
box.AddAeroEffect 0.5, vbBlack, vbWhite

 See Also