home *** CD-ROM | disk | FTP | other *** search
- VERSION 2.00
- Begin Form Form1
- AutoRedraw = -1 'True
- BackColor = &H00000000&
- BorderStyle = 0 'None
- ClientHeight = 3720
- ClientLeft = 1245
- ClientTop = 1605
- ClientWidth = 7485
- ControlBox = 0 'False
- Height = 4125
- Icon = SCRNSAVE.FRX:0000
- Left = 1185
- LinkTopic = "Form1"
- MaxButton = 0 'False
- MinButton = 0 'False
- ScaleHeight = 3720
- ScaleWidth = 7485
- Top = 1260
- Width = 7605
- WindowState = 2 'Maximized
- End
- Dim Event As Integer 'Declare Variable for the status of events.
- Declare Function ShowCursor Lib "User" (ByVal cShow As Integer) As Integer 'Mouse Show/Hide API Call.
-
- Sub Form_KeyDown (KeyCode As Integer, Shift As Integer)
- Event = True 'Set event variable to true, for reading in the Form_Load Procedure.
- End Sub
-
- Sub Form_Load ()
- If App.PrevInstance = True Then End 'If program allready loaded, cancel this instance.
- If UCase$(Command$) = "/C" Then MsgBox "This saver has no settings window.", , "Blanker": End 'Give message when Controll window should be shown.
- Do: Loop Until ShowCursor(False) < 0 'Hide cursor (Loop is done because It doesn't allways work).
- WindowState = 2 'Maximize Window
- visible = True 'Show Blank Window
- While Event = False 'Loop until an event occurs.
- DoEvents 'Allow event trapping
- Wend
- Do: Loop Until ShowCursor(True) > 0 'Show cursor
- End
- End Sub
-
- Sub Form_MouseDown (Button As Integer, Shift As Integer, X As Single, Y As Single)
- Event = True 'Set event variable to true, for reading in the Form_Load Procedure.
- End Sub
-
- Sub Form_MouseMove (Button As Integer, Shift As Integer, X As Single, Y As Single)
- Static OldX%, oldY% 'Define variables
- If OldX% = 0 And oldY% = 0 Then OldX% = X: oldY% = Y: Exit Sub 'Set Coordinates
- If OldX% <> X Or oldY% <> Y Then Event = True 'Set event variable to true, for reading in the Form_Load Procedure, if the mouse has moved.
- End Sub
-
-