home *** CD-ROM | disk | FTP | other *** search
- VERSION 4.00
- Begin VB.MDIForm w_mdi_main
- BackColor = &H8000000C&
- Caption = "Component Toolbox OCX Demo Program"
- ClientHeight = 6465
- ClientLeft = 1260
- ClientTop = 1485
- ClientWidth = 9915
- Height = 7155
- Icon = "ct_mdi.frx":0000
- Left = 1200
- LinkTopic = "MDIForm1"
- Top = 855
- Width = 10035
- WindowState = 2 'Maximized
- Begin FrameLibCtl.ctFrame Frame_Status
- Align = 2 'Align Bottom
- Height = 525
- Left = 0
- TabIndex = 1
- Top = 5940
- Visible = 0 'False
- Width = 9915
- _version = 65536
- _extentx = 17489
- _extenty = 926
- _stockprops = 32
- outerborder = 2
- backcolor = 12632256
- Begin TextLib.ctText ctText1
- Height = 375
- Left = 120
- TabIndex = 3
- Top = 90
- Width = 5475
- _version = 65536
- _extentx = 9657
- _extenty = 661
- _stockprops = 70
- backcolor = 16777215
- bordertype = 3
- End
- Begin ClockLib.ctClock ctClock1
- Height = 375
- Left = 5700
- TabIndex = 2
- Top = 90
- Width = 1275
- _version = 65536
- _extentx = 2249
- _extenty = 661
- _stockprops = 68
- bordertype = 3
- currenthour = 12
- currentminute = 2
- currentsecond = 36
- End
- End
- Begin FrameLibCtl.ctFrame Frame_Menu
- Align = 1 'Align Top
- Height = 555
- Left = 0
- TabIndex = 0
- Top = 0
- Width = 9915
- _version = 65536
- _extentx = 17489
- _extenty = 979
- _stockprops = 32
- showright = 0 'False
- showleft = 0 'False
- backcolor = 12632256
- Begin PushLib.ctPush bt_check
- Height = 345
- Left = 4440
- TabIndex = 16
- Top = 120
- Width = 360
- _version = 65536
- _extentx = 635
- _extenty = 608
- _stockprops = 70
- caption = "ctCheck"
- picture = "ct_mdi.frx":030A
- picposition = 1
- buttonheight = 21
- buttonwidth = 29
- piconly = -1 'True
- drawfocus = 0 'False
- End
- Begin PushLib.ctPush bt_misc
- Height = 345
- Left = 5160
- TabIndex = 18
- Top = 120
- Width = 360
- _version = 65536
- _extentx = 635
- _extenty = 608
- _stockprops = 70
- caption = "ctMisc"
- picture = "ct_mdi.frx":062C
- picposition = 1
- buttonheight = 24
- buttonwidth = 28
- piconly = -1 'True
- drawfocus = 0 'False
- End
- Begin PushLib.ctPush bt_tips
- Height = 345
- Left = 4080
- TabIndex = 15
- Top = 120
- Width = 360
- _version = 65536
- _extentx = 635
- _extenty = 608
- _stockprops = 70
- caption = "Tips"
- picture = "ct_mdi.frx":094E
- picposition = 1
- buttonheight = 37
- buttonwidth = 41
- piconly = -1 'True
- drawfocus = 0 'False
- End
- Begin TipsLib.ctTips ctTips1
- Height = 420
- Left = 9420
- TabIndex = 19
- Top = 60
- Width = 420
- _version = 65536
- _extentx = 740
- _extenty = 740
- _stockprops = 68
- BeginProperty font {0BE35203-8F91-11CE-9DE3-00AA004BB851}
- name = "MS Sans Serif"
- charset = 0
- weight = 700
- size = 8.25
- underline = 0 'False
- italic = 0 'False
- strikethrough = 0 'False
- EndProperty
- End
- Begin PushLib.ctPush bt_dialogue
- Height = 345
- Left = 4800
- TabIndex = 17
- Top = 120
- Width = 360
- _version = 65536
- _extentx = 635
- _extenty = 608
- _stockprops = 70
- caption = "ctPush"
- picture = "ct_mdi.frx":0C70
- picposition = 1
- buttonheight = 17
- buttonwidth = 29
- roundcorners = 0 'False
- piconly = -1 'True
- drawfocus = 0 'False
- End
- Begin PushLib.ctPush bt_push
- Height = 345
- Left = 3720
- TabIndex = 14
- Top = 120
- Width = 360
- _version = 65536
- _extentx = 635
- _extenty = 608
- _stockprops = 70
- caption = "ctPush"
- picture = "ct_mdi.frx":0F92
- picposition = 1
- buttonheight = 25
- buttonwidth = 25
- roundcorners = 0 'False
- piconly = -1 'True
- drawfocus = 0 'False
- End
- Begin PushLib.ctPush bt_fold
- Height = 345
- Left = 3360
- TabIndex = 13
- Top = 120
- Width = 360
- _version = 65536
- _extentx = 635
- _extenty = 608
- _stockprops = 70
- caption = "ctPush"
- picture = "ct_mdi.frx":12B4
- picposition = 1
- buttonheight = 25
- buttonwidth = 29
- roundcorners = 0 'False
- piconly = -1 'True
- drawfocus = 0 'False
- End
- Begin PushLib.ctPush bt_text
- Height = 345
- Left = 3000
- TabIndex = 12
- Top = 120
- Width = 360
- _version = 65536
- _extentx = 635
- _extenty = 608
- _stockprops = 70
- caption = "ctPush"
- picture = "ct_mdi.frx":15D6
- picposition = 1
- buttonheight = 29
- buttonwidth = 29
- roundcorners = 0 'False
- piconly = -1 'True
- drawfocus = 0 'False
- End
- Begin PushLib.ctPush bt_split
- Height = 345
- Left = 2640
- TabIndex = 11
- Top = 120
- Width = 360
- _version = 65536
- _extentx = 635
- _extenty = 608
- _stockprops = 70
- caption = "ctPush"
- picture = "ct_mdi.frx":18F8
- picposition = 1
- buttonheight = 25
- buttonwidth = 25
- roundcorners = 0 'False
- piconly = -1 'True
- drawfocus = 0 'False
- End
- Begin PushLib.ctPush bt_tabs
- Height = 345
- Left = 2280
- TabIndex = 10
- Top = 120
- Width = 360
- _version = 65536
- _extentx = 635
- _extenty = 608
- _stockprops = 70
- caption = "ctPush"
- BeginProperty font {0BE35203-8F91-11CE-9DE3-00AA004BB851}
- name = "Arial"
- charset = 0
- weight = 400
- size = 7.49
- underline = 0 'False
- italic = 0 'False
- strikethrough = 0 'False
- EndProperty
- picture = "ct_mdi.frx":1C1A
- picposition = 1
- buttonheight = 21
- buttonwidth = 17
- roundcorners = 0 'False
- piconly = -1 'True
- drawfocus = 0 'False
- End
- Begin PushLib.ctPush bt_slide
- Height = 345
- Left = 1920
- TabIndex = 9
- Top = 120
- Width = 360
- _version = 65536
- _extentx = 635
- _extenty = 608
- _stockprops = 70
- caption = "ctSlide"
- picture = "ct_mdi.frx":1F3C
- picposition = 1
- buttonheight = 21
- buttonwidth = 25
- roundcorners = 0 'False
- piconly = -1 'True
- drawfocus = 0 'False
- End
- Begin PushLib.ctPush bt_move
- Height = 345
- Left = 1560
- TabIndex = 8
- Top = 120
- Width = 360
- _version = 65536
- _extentx = 635
- _extenty = 608
- _stockprops = 70
- caption = "ctMove"
- picture = "ct_mdi.frx":225E
- picposition = 1
- buttonheight = 21
- buttonwidth = 21
- roundcorners = 0 'False
- piconly = -1 'True
- drawfocus = 0 'False
- End
- Begin PushLib.ctPush bt_sched
- Height = 345
- Left = 1200
- TabIndex = 7
- Top = 120
- Width = 360
- _version = 65536
- _extentx = 635
- _extenty = 608
- _stockprops = 70
- caption = "ctSched"
- picture = "ct_mdi.frx":2580
- picposition = 1
- buttonheight = 25
- buttonwidth = 25
- roundcorners = 0 'False
- piconly = -1 'True
- drawfocus = 0 'False
- End
- Begin PushLib.ctPush bt_meter
- Height = 345
- Left = 840
- TabIndex = 6
- Top = 120
- Width = 360
- _version = 65536
- _extentx = 635
- _extenty = 608
- _stockprops = 70
- caption = "ctMeter"
- BeginProperty font {0BE35203-8F91-11CE-9DE3-00AA004BB851}
- name = "Modern"
- charset = 255
- weight = 400
- size = 6
- underline = 0 'False
- italic = 0 'False
- strikethrough = 0 'False
- EndProperty
- picture = "ct_mdi.frx":28A2
- picposition = 1
- buttonheight = 25
- buttonwidth = 25
- roundcorners = 0 'False
- piconly = -1 'True
- drawfocus = 0 'False
- End
- Begin PushLib.ctPush bt_clock
- Height = 345
- Left = 480
- TabIndex = 5
- Top = 120
- Width = 360
- _version = 65536
- _extentx = 635
- _extenty = 608
- _stockprops = 70
- caption = "ctClock"
- picture = "ct_mdi.frx":2BC4
- picposition = 1
- buttonheight = 17
- buttonwidth = 45
- roundcorners = 0 'False
- piconly = -1 'True
- drawfocus = 0 'False
- End
- Begin PushLib.ctPush bt_date
- Height = 345
- Left = 120
- TabIndex = 4
- Top = 120
- Width = 360
- _version = 65536
- _extentx = 635
- _extenty = 608
- _stockprops = 70
- caption = "ctDate"
- picture = "ct_mdi.frx":2EE6
- picposition = 1
- buttonheight = 20
- buttonwidth = 25
- roundcorners = 0 'False
- piconly = -1 'True
- drawfocus = 0 'False
- End
- End
- Begin VB.Menu m_File
- Caption = "&File"
- Begin VB.Menu m_exit
- Caption = "E&xit"
- End
- End
- Begin VB.Menu m_controls
- Caption = "&Controls"
- Begin VB.Menu m_calendar
- Caption = "Standard Calendar Control"
- End
- Begin VB.Menu m_clock
- Caption = "Clock Control"
- End
- Begin VB.Menu m_gauge
- Caption = "Gauge and Meter Control"
- End
- Begin VB.Menu m_sched
- Caption = "Scheduling Bar Control"
- End
- Begin VB.Menu m_animate
- Caption = "Animated Push Buttons"
- End
- Begin VB.Menu m_slide
- Caption = "Slider Control"
- End
- Begin VB.Menu m_tabs
- Caption = "Page Tabs Control"
- End
- Begin VB.Menu m_split
- Caption = "Splitter Bar Control"
- End
- Begin VB.Menu m_text
- Caption = "Enhanced Text Box Control"
- End
- Begin VB.Menu m_folder
- Caption = "Tabbed File Folder Control"
- End
- Begin VB.Menu m_push
- Caption = "Enhanced Push Button"
- End
- Begin VB.Menu m_popup
- Caption = "Popup Tool Tips Control"
- End
- Begin VB.Menu m_general
- Caption = "Common General Controls"
- End
- Begin VB.Menu m_dialogue
- Caption = "Common Dialogue Controls"
- End
- Begin VB.Menu m_misc
- Caption = "Miscellaneous Controls"
- End
- End
- Begin VB.Menu m_options
- Caption = "&Options"
- Begin VB.Menu m_toolbar
- Caption = "Toolbar"
- Checked = -1 'True
- End
- Begin VB.Menu m_status
- Caption = "Status Bar"
- End
- End
- Begin VB.Menu m_help
- Caption = "&Help"
- Begin VB.Menu m_order
- Caption = "Ordering Information"
- End
- Begin VB.Menu m_about
- Caption = "About Component Toolbox"
- End
- End
- Attribute VB_Name = "w_mdi_main"
- Attribute VB_Creatable = False
- Attribute VB_Exposed = False
- Private Sub bt_check_Click()
- Load w_general_demo
- End Sub
- Private Sub bt_clock_Click()
- Load w_clock_demo
- End Sub
- Private Sub bt_date_Click()
- Load w_date_demo
- End Sub
- Private Sub bt_dialogue_Click()
- Load w_dialogue_demo
- End Sub
- Private Sub bt_fold_Click()
- Load w_fold_demo
- End Sub
- Private Sub bt_meter_Click()
- Load w_gauge_demo
- End Sub
- Private Sub bt_misc_Click()
- Load w_misc_demo
- End Sub
- Private Sub bt_move_Click()
- Load w_move_demo
- End Sub
- Private Sub bt_push_Click()
- Load w_push_demo
- End Sub
- Private Sub bt_sched_Click()
- Load w_sched_demo
- End Sub
- Private Sub bt_slide_Click()
- Load w_slide_demo
- End Sub
- Private Sub bt_split_Click()
- Load w_split_demo
- End Sub
- Private Sub bt_tabs_Click()
- Load w_tabs_demo
- End Sub
- Private Sub bt_text_Click()
- Load w_text_demo
- End Sub
- Private Sub bt_tips_Click()
- Load w_tips_demo
- End Sub
- Private Sub ctTips1_ItemCheck(HANDLE As Integer)
- If (HANDLE = bt_date.hWnd) Then
- ctTips1.TipsText = "Calendar"
- ElseIf (HANDLE = bt_clock.hWnd) Then
- ctTips1.TipsText = "Clock"
- ElseIf (HANDLE = bt_meter.hWnd) Then
- ctTips1.TipsText = "Meter and Gauge"
- ElseIf (HANDLE = bt_sched.hWnd) Then
- ctTips1.TipsText = "Scheduling Bars"
- ElseIf (HANDLE = bt_slide.hWnd) Then
- ctTips1.TipsText = "Slider"
- ElseIf (HANDLE = bt_move.hWnd) Then
- ctTips1.TipsText = "Animated Buttons"
- ElseIf (HANDLE = bt_tabs.hWnd) Then
- ctTips1.TipsText = "Page Tabs"
- ElseIf (HANDLE = bt_split.hWnd) Then
- ctTips1.TipsText = "Splitter Bars"
- ElseIf (HANDLE = bt_text.hWnd) Then
- ctTips1.TipsText = "Enhanced Text"
- ElseIf (HANDLE = bt_fold.hWnd) Then
- ctTips1.TipsText = "Tabbed File Folder"
- ElseIf (HANDLE = bt_push.hWnd) Then
- ctTips1.TipsText = "Push Button"
- ElseIf (HANDLE = bt_tips.hWnd) Then
- ctTips1.TipsText = "Tool Tips"
- ElseIf (HANDLE = bt_check.hWnd) Then
- ctTips1.TipsText = "Common Controls"
- ElseIf (HANDLE = bt_dialogue.hWnd) Then
- ctTips1.TipsText = "Common Dialogues"
- ElseIf (HANDLE = bt_misc.hWnd) Then
- ctTips1.TipsText = "Miscellaneous Controls"
- End If
- End Sub
- Private Sub m_about_Click()
- w_about.Show 1
- End Sub
- Private Sub m_animate_Click()
- Load w_move_demo
- End Sub
- Private Sub m_calendar_Click()
- Load w_date_demo
- End Sub
- Private Sub m_clock_Click()
- Load w_clock_demo
- End Sub
- Private Sub m_dialogue_Click()
- Load w_dialogue_demo
- End Sub
- Private Sub m_exit_Click()
- If MsgBox("Do you really want to exit this program", vbYesNo + vbQuestion, "Exit Toolbox Demo") = vbYes Then
- End
- End If
- End Sub
- Private Sub m_folder_Click()
- Load w_fold_demo
- End Sub
- Private Sub m_gauge_Click()
- Load w_gauge_demo
- End Sub
- Private Sub m_general_Click()
- Load w_general_demo
- End Sub
- Private Sub m_misc_Click()
- Load w_misc_demo
- End Sub
- Private Sub m_order_Click()
- w_order.Show 1
- End Sub
- Private Sub m_popup_Click()
- Load w_tips_demo
- End Sub
- Private Sub m_push_Click()
- Load w_push_demo
- End Sub
- Private Sub m_sched_Click()
- Load w_sched_demo
- End Sub
- Private Sub m_slide_Click()
- Load w_slide_demo
- End Sub
- Private Sub m_split_Click()
- Load w_split_demo
- End Sub
- Private Sub m_status_Click()
- m_status.Checked = Not m_status.Checked
- Frame_Status.Visible = m_status.Checked
- End Sub
- Private Sub m_tabs_Click()
- Load w_tabs_demo
- End Sub
- Private Sub m_text_Click()
- Load w_text_demo
- End Sub
- Private Sub m_toolbar_Click()
- m_toolbar.Checked = Not m_toolbar.Checked
- Frame_Menu.Visible = m_toolbar.Checked
- End Sub
-