home *** CD-ROM | disk | FTP | other *** search
- VERSION 5.00
- Object = "{F67B88F4-37EE-11D2-A2AB-00600804B78C}#4.0#0"; "KC_OnTop.ocx"
- Begin VB.Form Form1
- BorderStyle = 4 'Fixed ToolWindow
- Caption = "KC_OnTop sample project"
- ClientHeight = 1800
- ClientLeft = 10290
- ClientTop = 8490
- ClientWidth = 3480
- Icon = "Form1.frx":0000
- LinkTopic = "Form1"
- MaxButton = 0 'False
- MinButton = 0 'False
- ScaleHeight = 1800
- ScaleWidth = 3480
- ShowInTaskbar = 0 'False
- Begin VB.CommandButton Command2
- Caption = "Not On Top"
- Height = 375
- Left = 1800
- TabIndex = 1
- Top = 240
- Width = 1095
- End
- Begin VB.CommandButton Command1
- Caption = "On Top"
- Height = 375
- Left = 600
- TabIndex = 0
- Top = 240
- Width = 1095
- End
- Begin OnTop_OCX.KC_OnTop KC_OnTop1
- Left = 120
- Top = 120
- _ExtentX = 847
- _ExtentY = 873
- End
- Begin VB.Label Label2
- Alignment = 2 'Center
- Caption = "http://home.ptdprolog.net/~kirsch"
- ForeColor = &H00FF0000&
- Height = 255
- Left = 480
- MouseIcon = "Form1.frx":0442
- MousePointer = 99 'Custom
- TabIndex = 3
- Top = 1440
- Width = 2535
- End
- Begin VB.Label Label1
- Alignment = 2 'Center
- Caption = "Click a button above to test the KC_OnTop control!"
- Height = 375
- Left = 600
- TabIndex = 2
- Top = 840
- Width = 2220
- End
- Attribute VB_Name = "Form1"
- Attribute VB_GlobalNameSpace = False
- Attribute VB_Creatable = False
- Attribute VB_PredeclaredId = True
- Attribute VB_Exposed = False
- Option Explicit
- Private Sub Command1_Click()
- KC_OnTop1.PlaceOnTop ', True
- End Sub
- Private Sub Command2_Click()
- KC_OnTop1.PlaceOnTop False
- End Sub
- Private Sub Label2_Click()
- Shell "start http://home.ptdprolog.net/~kirsch"
- End Sub
-