VBcoders Browse New Submit Contact Sign In

No account? Register free

Forgot password?

Pass this module a form to 'phase it out' in a couple of cool ways: 1.) a shrinking ellipse, 2.) a

Dan McLeran  (1 Submission)   Custom Controls/Forms/Menus   VB 6.0   Unknown Difficulty   Wed 5th May 1999   Mon 8th February 2021

Pass this module a form to 'phase it out' in a couple of cool ways: 1.) a shrinking ellipse, 2.) a shrinking square. The module will unload

API Declarations



'Only 2 phase types available (Square & Ellipse)
Public Enum PhaseType
pEllipse = 0
pSquare = 1
End Enum

'Scalar determines by how much the form is shrunk each loop
Public Enum Scalar
scalarX = 15
scalarY = 8
End Enum

'API declarations
Public Declare Function CreateEllipticRgn Lib "gdi32" (ByVal X1 As Long, ByVal Y1 As Long, ByVal X2 As Long, ByVal Y2 As Long) As Long
Public Declare Function CreateRectRgn Lib "gdi32" (ByVal X1 As Long, ByVal Y1 As Long, ByVal X2 As Long, ByVal Y2 As Long) As Long
Public Declare Function SetWindowRgn Lib "user32" (ByVal hwnd As Long, ByVal hRgn As Long, ByVal bRedraw As Boolean) As Long
Public Declare Sub Sleep Lib "kernel32" (ByVal dwMilliseconds As Long)

Rate Pass this module a form to 'phase it out' in a couple of cool ways: 1.) a shrinking ellipse, 2.) a (1(1 Vote))
Pass this module a form to 'phase it out' in a couple of cool ways: 1.) a shrinking ellipse, 2.) a .bas

Pass this module a form to 'phase it out' in a couple of cool ways: 1.) a shrinking ellipse, 2.) a Comments

No comments yet — be the first to post one!

Post a Comment

0/1000 characters