Search
Box.AddGlassEffect Method
See Also
 



Adds a Glass effect to this box.

 Syntax

VB6  Copy Code

Public Sub AddGlassEffect( _
    ByVal effectType As EGlassEffectType, _
    ByVal glowColor As Long, _
    ByVal reflectionColor As Long, _
    ByVal usePenAsGlow As Boolean _
)

C++  Copy Code

public:
void AddGlassEffect (
    EGlassEffectType effectType,
    unsigned int glowColor,
    unsigned int reflectionColor,
    bool usePenAsGlow
)

 Parameters

effectType
A member of the EGlassEffectType enumeration.
glowColor

The color of the glow portion of the effect.

reflectionColor

The color of the reflection portion of the effect.

usePenAsGlow

Specifies whether the glow portion of the effect should be painted with the pen color of the respective node.

 Remarks

The Glass effect adds glass reflection -like visual effect to nodes.

 Example

The following example adds a glass effect to a box.

VB6  Copy Code
box.AddGlassEffect gtType1, vbWhite, vbWhite, False

 See Also