Excalibur Software RainbowButton 1.5

SetRegion

Sub SetRegion(ByVal hRgn As Long)

Description
Assigns a region handle (from Windows) to the button. The control now takes on the shape of the region specified until it is cleared using the SetShape method.

Parameters:

Remarks
Calling this method clears any previous region assigned to the control, including the built-in regions provided by the SetShape method.

See Also
SetShape method