Const AW_HOR_POSITIVE = &H1 'Animates the window from left To right. This flag can be used with roll Or slide animation.
Const AW_HOR_NEGATIVE = &H2 'Animates the window from right To left. This flag can be used with roll Or slide animation.
Const AW_VER_POSITIVE = &H4 'Animates the window from top To bottom. This flag can be used with roll Or slide animation.
Const AW_VER_NEGATIVE = &H8 'Animates the window from bottom To top. This flag can be used with roll Or slide animation.
Const AW_CENTER = &H10 'Makes the window appear To collapse inward If AW_HIDE is used Or expand outward If the AW_HIDE is Not used.
Const AW_HIDE = &H10000 'Hides the window. By default, the window is shown.
Const AW_ACTIVATE = &H20000 'Activates the window.
Const AW_SLIDE = &H40000 'Uses slide animation. By default, roll animation is used.
Const AW_BLEND = &H80000 'Uses a fade effect. This flag can be used only If hwnd is a top-level window.
Private Declare Function AnimateWindow Lib "user32" (ByVal hwnd As Long, ByVal dwTime As Long, ByVal dwFlags As Long) As Boolean
Private Sub Form_Load()
'KPD-Team 1999
'URL: http://www.allapi.net/
'E-Mail: [email protected]
'Set the graphic mode To persistent
Me.AutoRedraw = True
Me.Print "Unload me"
End Sub
Private Sub Form_Unload(Cancel As Integer)
'Animate the window
AnimateWindow Me.hwnd, 200, AW_VER_POSITIVE Or AW_HOR_NEGATIVE Or AW_HIDE
'Unload our form completely
Set Form1 = Nothing
End Sub
LOL That happened to me to Matthew, just right click when you are replying to a message and there should be a bunch of new options in the standard Cut, Copy, Paste menu.
I guess it is a matter of preference. To me it distinguishes the difference between two seperate comments and one long comment. I reckon I'm just being nit-picky, all I really have to do is move the color tag for that particular comment to the end of the continued. Anyway thanks for listening.
P.S. Also, even though I don't think I've ever seen it used here, the Rem statement doesn't get colored green either.
Yes...REM has been consciously left out.
Because no one in the forum seems to use it.
May be If I make an Stand alone Application Like fox did
I would make everything utopian. But This program
as you might have noticed is run from a Script. And as
such hardwiring everything in code might actually
punish you in speed of execution.
You know...no body want's to wait for one minute after
Right clicking something !
And Fortunately Every one is lazy to use REM instead of
a Simple '.
This is where you tell it what to run when you Right Click
Keys other than those default cut copy paste...options.
The script itself make uses of Window.External object's
Menuarguments property to get the window of the
Page where you right clicked ...the rest is easy.