home *** CD-ROM | disk | FTP | other *** search
- VERSION 5.00
- Begin VB.Form Form3
- BorderStyle = 3 'Fixed Dialog
- Caption = "Modify Icon"
- ClientHeight = 3915
- ClientLeft = 45
- ClientTop = 330
- ClientWidth = 4785
- LinkTopic = "Form3"
- MaxButton = 0 'False
- MinButton = 0 'False
- ScaleHeight = 3915
- ScaleWidth = 4785
- ShowInTaskbar = 0 'False
- StartUpPosition = 3 'Windows Default
- Begin VB.Frame Frame1
- Caption = "Icon"
- Height = 1095
- Left = 0
- TabIndex = 5
- Top = 720
- Width = 4575
- Begin VB.OptionButton Option1
- Caption = "Use Form1.Icon"
- Height = 255
- Left = 240
- TabIndex = 8
- Top = 240
- Width = 1815
- End
- Begin VB.OptionButton Option2
- Caption = "Use file:"
- Height = 255
- Left = 240
- TabIndex = 7
- Top = 600
- Width = 975
- End
- Begin VB.TextBox Text3
- Height = 330
- Left = 1320
- TabIndex = 6
- Top = 600
- Width = 2895
- End
- End
- Begin VB.TextBox Text1
- Height = 285
- Left = 1320
- TabIndex = 4
- Top = 2040
- Width = 495
- End
- Begin VB.TextBox Text2
- Height = 285
- Left = 1320
- TabIndex = 3
- Top = 2520
- Width = 1935
- End
- Begin VB.CommandButton Command1
- Caption = "&OK"
- Height = 615
- Left = 120
- TabIndex = 2
- Top = 3000
- Width = 1335
- End
- Begin VB.CommandButton Command2
- Caption = "&Cancel"
- Height = 615
- Left = 1560
- TabIndex = 1
- Top = 3000
- Width = 1455
- End
- Begin VB.CommandButton Command3
- Caption = "&About"
- Height = 615
- Left = 3120
- TabIndex = 0
- Top = 3000
- Width = 1455
- End
- Begin VB.Label Label1
- Alignment = 2 'Center
- Caption = "Modify Icon"
- BeginProperty Font
- Name = "MS Sans Serif"
- Size = 24
- Charset = 0
- Weight = 400
- Underline = 0 'False
- Italic = 0 'False
- Strikethrough = 0 'False
- EndProperty
- Height = 495
- Left = 0
- TabIndex = 11
- Top = 0
- Width = 4575
- End
- Begin VB.Label Label2
- Caption = "ID:"
- Height = 255
- Left = 240
- TabIndex = 10
- Top = 2040
- Width = 375
- End
- Begin VB.Label Label3
- Caption = "Tooltip:"
- Height = 255
- Left = 240
- TabIndex = 9
- Top = 2520
- Width = 855
- End
- Attribute VB_Name = "Form3"
- Attribute VB_GlobalNameSpace = False
- Attribute VB_Creatable = False
- Attribute VB_PredeclaredId = True
- Attribute VB_Exposed = False
- Private Sub Command1_Click()
- If Option1 = True Then Form1.YoconTray1.ModifyIcon CInt(Text1.Text), Form1.Icon.Handle, Text2.Text
- If Option2 = True Then Form1.YoconTray1.ModifyIcon CInt(Text1.Text), LoadPicture(Text3.Text).Handle, Text2.Text
- Unload Form3
- End Sub
- Private Sub Command2_Click()
- Unload Form3
- End Sub
- Private Sub Command3_Click()
- Form1.YoconTray1.AboutBox
- End Sub
- Private Sub Form_Load()
- Option1 = True
- Text3.Enabled = False
- End Sub
- Private Sub Option1_Click()
- If Option1 = True Then Text3.Enabled = False
- End Sub
- Private Sub Option2_Click()
- If Option2 = True Then Text3.Enabled = True
- End Sub
-