home *** CD-ROM | disk | FTP | other *** search
/ Visual Basic Source Code / Visual Basic Source Code.iso / vbsource / remind1a / form4.frm (.txt) < prev    next >
Encoding:
Visual Basic Form  |  1999-10-05  |  1.3 KB  |  46 lines

  1. VERSION 5.00
  2. Begin VB.Form Form4 
  3.    Caption         =   "Remind Me"
  4.    ClientHeight    =   5475
  5.    ClientLeft      =   60
  6.    ClientTop       =   345
  7.    ClientWidth     =   5460
  8.    ControlBox      =   0   'False
  9.    LinkTopic       =   "Form4"
  10.    Picture         =   "Form4.frx":0000
  11.    ScaleHeight     =   5475
  12.    ScaleWidth      =   5460
  13.    ShowInTaskbar   =   0   'False
  14.    StartUpPosition =   2  'Bildschirmmitte
  15.    Begin VB.Timer Timer1 
  16.       Interval        =   2000
  17.       Left            =   3120
  18.       Top             =   4080
  19.    End
  20.    Begin VB.Image Image1 
  21.       Height          =   5490
  22.       Left            =   0
  23.       Picture         =   "Form4.frx":4EEA
  24.       Stretch         =   -1  'True
  25.       Top             =   0
  26.       Width           =   5490
  27.    End
  28. Attribute VB_Name = "Form4"
  29. Attribute VB_GlobalNameSpace = False
  30. Attribute VB_Creatable = False
  31. Attribute VB_PredeclaredId = True
  32. Attribute VB_Exposed = False
  33. Private Sub Check1_Click()
  34. Select Case Check1.Value
  35.         Case Checked
  36.             SetWindowPos hWnd, HWND_TOPMOST, 0, 0, 0, 0, SWP_NOMOVE + SWP_NOSIZE
  37.         Case Unchecked
  38.             SetWindowPos hWnd, HWND_NOTOPMOST, 0, 0, 0, 0, SWP_NOMOVE + SWP_NOSIZE
  39.     End Select
  40. End Sub
  41. Private Sub Timer1_Timer()
  42. Form2.Show
  43. Timer1.Enabled = False
  44. Form4.Hide
  45. End Sub
  46.