'turn off control box on the form settings for full screen
Dim Quit As Byte
Dim i As Integer
Dim ActionMode As String
Private Declare Function SetWindowPos Lib "user32" (ByVal hwnd As Long, ByVal hWndInsertAfter As Long, ByVal x As Long, ByVal Y As Long, ByVal cx As Long, ByVal cy As Long, ByVal wFlags As Long) As Long
Private Declare Function ShowCursor Lib "user32" (ByVal bShow As Long) As Long
Private Sub Background_MouseMove(Button As Integer, Shift As Integer, x As Single, Y As Single)
SpecialEffectX = x 'tempInt
SpecialEffectY = Y 'tempInt
End Sub
Private Sub Form_Activate()
'ShowCursor False
Dim MyValue As Byte, x
Randomize
MyValue = Int((3 * Rnd) + 1)
Select Case MyValue
Case 1
mnuSnow_Click
Case 2
mnuStars_Click
Case 3
mnuBlackhole_Click
End Select
mnuRun_Click
Do While ActionMode = "OK" Or ActionMode = "Running"
Do While ActionMode = "Running"
Background = LoadPicture ' clear the background
For i = 0 To StarCount
NextStarPosition i, Background.Height, Background.Width