home *** CD-ROM | disk | FTP | other *** search
- VERSION 5.00
- Begin VB.Form Form1
- Caption = "Providing Callbacks"
- ClientHeight = 3150
- ClientLeft = 60
- ClientTop = 345
- ClientWidth = 5760
- LinkTopic = "Form1"
- ScaleHeight = 3150
- ScaleWidth = 5760
- StartUpPosition = 3 'Windows Default
- Begin VB.TextBox Text1
- Height = 315
- Left = 4140
- TabIndex = 8
- Text = "A Text Box"
- Top = 2625
- Width = 1245
- End
- Begin VB.ListBox List1
- Height = 1650
- Left = 150
- TabIndex = 5
- Top = 1290
- Width = 2655
- End
- Begin VB.Frame Frame1
- Caption = "Frame1"
- Height = 2325
- Left = 3240
- TabIndex = 1
- Top = 150
- Width = 2175
- Begin VB.OptionButton Option1
- Caption = "Option1"
- Height = 525
- Left = 360
- TabIndex = 4
- Top = 300
- Width = 1245
- End
- Begin VB.OptionButton Option2
- Caption = "Option2"
- Height = 525
- Left = 360
- TabIndex = 3
- Top = 960
- Width = 1245
- End
- Begin VB.OptionButton Option3
- Caption = "Option3"
- Height = 525
- Left = 360
- TabIndex = 2
- Top = 1590
- Width = 1245
- End
- End
- Begin VB.CommandButton cmdEnum
- Cancel = -1 'True
- Caption = "&Click Here to Enumerate Child Windows"
- Default = -1 'True
- Height = 765
- Left = 570
- TabIndex = 0
- Top = 150
- Width = 1755
- End
- Begin VB.Label Label2
- Caption = "A Label"
- Height = 255
- Left = 3240
- TabIndex = 7
- Top = 2685
- Width = 765
- End
- Begin VB.Label Label1
- Caption = "Child Window Captions"
- Height = 255
- Left = 210
- TabIndex = 6
- Top = 1020
- Width = 2385
- 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 cmdEnum_Click()
- Dim bRtn As Boolean
- bRtn = EnumChildWindows(Form1.hwnd, AddressOf EnumFunc, 0)
- End Sub
-