-
Notifications
You must be signed in to change notification settings - Fork 3
/
Copy pathFRMMAIN.FRM
745 lines (625 loc) · 23.6 KB
/
FRMMAIN.FRM
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
VERSION 5.00
Object = "{831FDD16-0C5C-11D2-A9FC-0000F8754DA1}#2.0#0"; "MSCOMCTL.OCX"
Begin VB.Form frmMain
Caption = "Component Checker"
ClientHeight = 5715
ClientLeft = 1440
ClientTop = 2550
ClientWidth = 8970
Icon = "frmMain.frx":0000
LinkTopic = "Form1"
ScaleHeight = 381
ScaleMode = 3 'Pixel
ScaleWidth = 598
WindowState = 2 'Maximized
Begin VB.DirListBox Dir1
Height = 540
Left = 5580
TabIndex = 5
TabStop = 0 'False
Top = 480
Visible = 0 'False
Width = 1215
End
Begin VB.FileListBox File1
Height = 480
Left = 5580
TabIndex = 4
TabStop = 0 'False
Top = 1065
Visible = 0 'False
Width = 1215
End
Begin VB.PictureBox picMain
Appearance = 0 'Flat
AutoRedraw = -1 'True
BackColor = &H80000005&
ForeColor = &H00C0FFFF&
Height = 4770
Left = 15
ScaleHeight = 316
ScaleMode = 3 'Pixel
ScaleWidth = 22
TabIndex = 3
Top = 630
Width = 360
End
Begin MSComctlLib.ListView lview
Height = 3000
Left = 540
TabIndex = 2
Top = 720
Width = 6645
_ExtentX = 11721
_ExtentY = 5292
View = 3
LabelEdit = 1
LabelWrap = -1 'True
HideSelection = -1 'True
Checkboxes = -1 'True
FullRowSelect = -1 'True
_Version = 393217
Icons = "imlMain"
SmallIcons = "imlMain"
ForeColor = -2147483640
BackColor = -2147483643
BorderStyle = 1
Appearance = 1
BeginProperty Font {0BE35203-8F91-11CE-9DE3-00AA004BB851}
Name = "Tahoma"
Size = 8.25
Charset = 0
Weight = 400
Underline = 0 'False
Italic = 0 'False
Strikethrough = 0 'False
EndProperty
NumItems = 6
BeginProperty ColumnHeader(1) {BDD1F052-858B-11D1-B16A-00C0F0283628}
Text = "Sel"
Object.Width = 5292
EndProperty
BeginProperty ColumnHeader(2) {BDD1F052-858B-11D1-B16A-00C0F0283628}
SubItemIndex = 1
Text = "Nombre"
Object.Width = 3969
EndProperty
BeginProperty ColumnHeader(3) {BDD1F052-858B-11D1-B16A-00C0F0283628}
SubItemIndex = 2
Text = "GUID"
Object.Width = 6615
EndProperty
BeginProperty ColumnHeader(4) {BDD1F052-858B-11D1-B16A-00C0F0283628}
Alignment = 2
SubItemIndex = 3
Text = "Versión"
Object.Width = 1323
EndProperty
BeginProperty ColumnHeader(5) {BDD1F052-858B-11D1-B16A-00C0F0283628}
SubItemIndex = 4
Text = "Existe ?"
Object.Width = 1587
EndProperty
BeginProperty ColumnHeader(6) {BDD1F052-858B-11D1-B16A-00C0F0283628}
SubItemIndex = 5
Text = "Okey "
Object.Width = 38100
EndProperty
End
Begin MSComctlLib.StatusBar stbMain
Align = 2 'Align Bottom
Height = 300
Left = 0
TabIndex = 1
Top = 5415
Width = 8970
_ExtentX = 15822
_ExtentY = 529
_Version = 393216
BeginProperty Panels {8E3867A5-8586-11D1-B16A-00C0F0283628}
NumPanels = 2
BeginProperty Panel1 {8E3867AB-8586-11D1-B16A-00C0F0283628}
Object.Width = 8819
MinWidth = 8819
EndProperty
BeginProperty Panel2 {8E3867AB-8586-11D1-B16A-00C0F0283628}
Object.Width = 5292
MinWidth = 5292
EndProperty
EndProperty
End
Begin MSComctlLib.ImageList imlMain
Left = 90
Top = 825
_ExtentX = 1005
_ExtentY = 1005
BackColor = -2147483643
ImageWidth = 16
ImageHeight = 16
MaskColor = 12632256
_Version = 393216
BeginProperty Images {2C247F25-8591-11D1-B16A-00C0F0283628}
NumListImages = 19
BeginProperty ListImage1 {2C247F27-8591-11D1-B16A-00C0F0283628}
Picture = "frmMain.frx":030A
Key = ""
Object.Tag = "&Registrar"
EndProperty
BeginProperty ListImage2 {2C247F27-8591-11D1-B16A-00C0F0283628}
Picture = "frmMain.frx":062E
Key = ""
Object.Tag = "&DesRegistrar"
EndProperty
BeginProperty ListImage3 {2C247F27-8591-11D1-B16A-00C0F0283628}
Picture = "frmMain.frx":0742
Key = ""
Object.Tag = "&Imprimir"
EndProperty
BeginProperty ListImage4 {2C247F27-8591-11D1-B16A-00C0F0283628}
Picture = "frmMain.frx":089E
Key = ""
Object.Tag = "&Salir"
EndProperty
BeginProperty ListImage5 {2C247F27-8591-11D1-B16A-00C0F0283628}
Picture = "frmMain.frx":0CF2
Key = ""
EndProperty
BeginProperty ListImage6 {2C247F27-8591-11D1-B16A-00C0F0283628}
Picture = "frmMain.frx":0E4E
Key = ""
EndProperty
BeginProperty ListImage7 {2C247F27-8591-11D1-B16A-00C0F0283628}
Picture = "frmMain.frx":0FAA
Key = ""
Object.Tag = "&Actualizar"
EndProperty
BeginProperty ListImage8 {2C247F27-8591-11D1-B16A-00C0F0283628}
Picture = "frmMain.frx":1106
Key = ""
EndProperty
BeginProperty ListImage9 {2C247F27-8591-11D1-B16A-00C0F0283628}
Picture = "frmMain.frx":12E2
Key = ""
EndProperty
BeginProperty ListImage10 {2C247F27-8591-11D1-B16A-00C0F0283628}
Picture = "frmMain.frx":143E
Key = ""
Object.Tag = "&Configurar Path"
EndProperty
BeginProperty ListImage11 {2C247F27-8591-11D1-B16A-00C0F0283628}
Picture = "frmMain.frx":1758
Key = ""
Object.Tag = "Configurar &Instalación Componentes/Referencias"
EndProperty
BeginProperty ListImage12 {2C247F27-8591-11D1-B16A-00C0F0283628}
Picture = "frmMain.frx":1A72
Key = ""
EndProperty
BeginProperty ListImage13 {2C247F27-8591-11D1-B16A-00C0F0283628}
Picture = "frmMain.frx":1D8C
Key = ""
Object.Tag = "&Indice"
EndProperty
BeginProperty ListImage14 {2C247F27-8591-11D1-B16A-00C0F0283628}
Picture = "frmMain.frx":20A6
Key = ""
Object.Tag = "&Limpiar"
EndProperty
BeginProperty ListImage15 {2C247F27-8591-11D1-B16A-00C0F0283628}
Picture = "frmMain.frx":23C2
Key = ""
EndProperty
BeginProperty ListImage16 {2C247F27-8591-11D1-B16A-00C0F0283628}
Picture = "frmMain.frx":251E
Key = ""
Object.Tag = "&Comprobar"
EndProperty
BeginProperty ListImage17 {2C247F27-8591-11D1-B16A-00C0F0283628}
Picture = "frmMain.frx":283A
Key = ""
EndProperty
BeginProperty ListImage18 {2C247F27-8591-11D1-B16A-00C0F0283628}
Picture = "frmMain.frx":2996
Key = ""
EndProperty
BeginProperty ListImage19 {2C247F27-8591-11D1-B16A-00C0F0283628}
Picture = "frmMain.frx":2AF2
Key = ""
EndProperty
EndProperty
End
Begin MSComctlLib.Toolbar tlbMain
Align = 1 'Align Top
Height = 360
Left = 0
TabIndex = 0
Top = 0
Width = 8970
_ExtentX = 15822
_ExtentY = 635
ButtonWidth = 609
ButtonHeight = 582
AllowCustomize = 0 'False
Appearance = 1
Style = 1
ImageList = "imlMain"
_Version = 393216
BeginProperty Buttons {66833FE8-8583-11D1-B16A-00C0F0283628}
NumButtons = 11
BeginProperty Button1 {66833FEA-8583-11D1-B16A-00C0F0283628}
ImageIndex = 1
Style = 3
EndProperty
BeginProperty Button2 {66833FEA-8583-11D1-B16A-00C0F0283628}
Key = "cmdChequear"
Object.ToolTipText = "Chequear componentes"
ImageIndex = 16
EndProperty
BeginProperty Button3 {66833FEA-8583-11D1-B16A-00C0F0283628}
Key = "cmdPropiedades"
Object.ToolTipText = "Ver propiedades de archivo"
ImageIndex = 15
EndProperty
BeginProperty Button4 {66833FEA-8583-11D1-B16A-00C0F0283628}
Style = 3
EndProperty
BeginProperty Button5 {66833FEA-8583-11D1-B16A-00C0F0283628}
Key = "cmdActualizar"
Object.ToolTipText = "Actualizar lista de archivos"
ImageIndex = 7
EndProperty
BeginProperty Button6 {66833FEA-8583-11D1-B16A-00C0F0283628}
Key = "cmdImprimir"
Object.ToolTipText = "Imprimir archivos"
ImageIndex = 3
EndProperty
BeginProperty Button7 {66833FEA-8583-11D1-B16A-00C0F0283628}
Style = 3
EndProperty
BeginProperty Button8 {66833FEA-8583-11D1-B16A-00C0F0283628}
Key = "cmdNet"
Object.ToolTipText = "Ir al sitio web de vbsoftware"
ImageIndex = 12
EndProperty
BeginProperty Button9 {66833FEA-8583-11D1-B16A-00C0F0283628}
Key = "cmdAyuda"
Object.ToolTipText = "Ayuda de la aplicación"
ImageIndex = 13
EndProperty
BeginProperty Button10 {66833FEA-8583-11D1-B16A-00C0F0283628}
Style = 3
EndProperty
BeginProperty Button11 {66833FEA-8583-11D1-B16A-00C0F0283628}
Key = "cmdSalir"
Object.ToolTipText = "Salir"
ImageIndex = 4
EndProperty
EndProperty
End
Begin VB.Menu mnuArchivo
Caption = "&Archivo"
Begin VB.Menu mnuArchivo_Registrar
Caption = "|Comprobar archivos seleccionados|&Comprobar ..."
End
Begin VB.Menu mnuArchivo_sep1
Caption = "-"
End
Begin VB.Menu mnuArchivo_ConfImpresora
Caption = "|Configurar Impresora|&Configurar Impresora"
End
Begin VB.Menu mnuArchivo_Imprimir
Caption = "|Imprimir datos de los componentes|&Imprimir"
Shortcut = ^P
End
Begin VB.Menu mnuArchivo_sep2
Caption = "-"
End
Begin VB.Menu mnuArchivo_Salir
Caption = "|Salir de la aplicación|&Salir"
End
End
Begin VB.Menu mnuEdicion
Caption = "&Edición"
Begin VB.Menu mnuEdicion_SelTodos
Caption = "|Seleccionar todos los archivos|&Seleccionar todos"
Shortcut = ^A
End
Begin VB.Menu mnuEdicion_DesSelTodos
Caption = "|DesSeleccionar todos los archivos|&DesSeleccionar Todos"
End
End
Begin VB.Menu mnuOpciones
Caption = "&Opciones"
Begin VB.Menu mnuOpciones_Path
Caption = "|Configurar path donde se encuentran los componentes|&Configurar Path"
End
End
Begin VB.Menu mnuAyuda
Caption = "A&yuda"
Begin VB.Menu mnuAyuda_Indice
Caption = "|Indice de contenidos de Component Cleaner|&Indice"
End
Begin VB.Menu mnuAyuda_sep1
Caption = "-"
End
Begin VB.Menu mnuAyuda_Acerca
Caption = "|Información de Copyright de la aplicación|Acerca &de ..."
End
End
End
Attribute VB_Name = "frmMain"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
Option Explicit
Private mGradient As New clsGradient
Private clsXmenu As New CXtremeMenu
Private WithEvents MyHelpCallBack As HelpCallBack
Attribute MyHelpCallBack.VB_VarHelpID = -1
Private WithEvents extObj As VBControlExtender
Attribute extObj.VB_VarHelpID = -1
Private cTLI As TypeLibInfo
Private cClases As CoClasses
Private cClasesInfo As CoClassInfo
Private cClasesInterfaces As Interfaces
Private cClasesInterInfo As InterfaceInfo
Private cInterfaces As Interfaces
Private cInterfaceInfo As InterfaceInfo
Private cTypeInfos As TypeInfos
Private cTypeInfo As TypeInfo
Private cMembers As Members
Private cMembersInfo As MemberInfo
Private oObjeto As Object
'actualizar los componentes
Public Sub Actualizar()
Call Hourglass(hwnd, True)
Me.Caption = App.Title & " - " & C_PATH
Dir1.Path = C_PATH
stbMain.Panels(1).Text = "Cargando archivos ..."
lview.Visible = False
lview.Sorted = False
Call CargaComponentes
stbMain.Panels(1).Text = "VBSoftware 2000-2002"
lview.Visible = True
Call Hourglass(hwnd, False)
End Sub
Private Sub Logo()
With mGradient
.Angle = 90 '.Angle
.Color1 = 16744448
.Color2 = 0
.Draw picMain
End With
Call FontStuff(App.Title & " " & App.Major & "." & App.Minor & "." & App.Revision, picMain)
picMain.Refresh
End Sub
'limpia los componentes del registro
Private Sub Comprobar()
Dim Nombre As String
Dim CLSID As String
Dim Ver As String
Dim k As Integer
Dim total As Integer
Dim c As Integer
Dim e As Integer
Call Hourglass(hwnd, True)
Call SendMessage(lview.hwnd, WM_SETREDRAW, False, 0&)
ReDim glbClases(0)
ReDim glbClases(lview.ListItems.Count)
Call EnabledControls(Me, False)
'contar los archivos seleccionados
total = 0
For k = 1 To lview.ListItems.Count
If lview.ListItems(k).Checked Then
total = total + 1
End If
Next k
frmAccion.total = total
frmAccion.Show
c = 1
'ciclar x los archivos seleccionados
For k = lview.ListItems.Count To 1 Step -1
e = DoEvents()
If lview.ListItems(k).Checked Then
Nombre = lview.ListItems(k).Text
CLSID = lview.ListItems(k).SubItems(2)
Ver = lview.ListItems(k).SubItems(3)
frmAccion.Label1.Caption = Nombre
frmAccion.pgb.Value = c
c = c + 1
ReDim glbClases(k).Clases(0)
'limpiar entrada del registro
ComprobarArchivo C_PATH & "\" & Nombre, CLSID, Ver, k
End If
Next k
Call SendMessage(lview.hwnd, WM_SETREDRAW, True, 0&)
Unload frmAccion
Call EnabledControls(Me, True)
Call Hourglass(hwnd, False)
End Sub
'limpia la entrada del registro
Private Sub ComprobarArchivo(ByVal Archivo As String, ByVal CLSID As String, _
ByVal Ver As String, ByVal j As Integer)
On Error Resume Next
Dim c As Integer
Dim i As Integer
Dim t As Integer
Dim m As Integer
Dim sExt As String
'obtener info del archivo
Set cTLI = TLI.TypeLibInfoFromFile(Archivo)
Set cClases = cTLI.CoClasses
sExt = LCase$(Right$(Archivo, 3))
If sExt = "exe" Then Exit Sub
'sacar las clases del archivo
For c = 1 To cClases.Count
'ciclar x la info de la clase
Set cClasesInfo = cClases.Item(c)
ReDim Preserve glbClases(j).Clases(c)
glbClases(j).Clases(c).Name = cClasesInfo.Name
glbClases(j).Clases(c).Guid = cClasesInfo.Guid
glbClases(j).Clases(c).Estado = Okey
On Local Error Resume Next
If sExt <> "ocx" Then
Set oObjeto = CreateObject(cTLI.Name & "." & cClasesInfo.Name)
Else
If cClasesInfo.AttributeMask > 0 Then
Licenses.Add cTLI.Name & "." & cClasesInfo.Name, "xydsfasfjewfe"
Set extObj = Controls.Add(cTLI.Name & "." & cClasesInfo.Name, "mycontrol" & c)
End If
End If
If Err > 0 Then
If sExt = "ocx" Then lview.ListItems(j).SmallIcon = 17
If sExt = "dll" Or sExt = "tlb" Or sExt = "olb" Then lview.ListItems(j).SmallIcon = 19
If sExt = "exe" Then lview.ListItems(j).SmallIcon = 18
glbClases(j).Clases(c).Estado = Error
lview.ListItems(j).SubItems(5) = "Error"
Else
lview.ListItems(j).SubItems(5) = "Okey"
End If
Err = 0
Set cClasesInterfaces = cClasesInfo.Interfaces
ReDim glbClases(j).Clases(c).Interfaz(0)
ReDim glbClases(j).Clases(c).Interfaz(cClasesInterfaces.Count)
'ciclar x las interfaces
For i = 1 To cClasesInterfaces.Count
Set cClasesInterInfo = cClasesInterfaces.Item(i)
'miembros de la interface
Set cMembers = cClasesInterInfo.Members
ReDim Preserve glbClases(j).Clases(c).Interfaz(i).Miembros(0)
'ciclar x los miembros de la interface
For m = 1 To cMembers.Count
Set cMembersInfo = cMembers.Item(m)
ReDim Preserve glbClases(j).Clases(c).Interfaz(i).Miembros(m)
glbClases(j).Clases(c).Interfaz(i).Miembros(m).Name = cMembersInfo.Name
Next m
Next i
If sExt <> "ocx" Then
Set oObjeto = Nothing
Else
If cClasesInfo.AttributeMask > 0 Then
Me.Controls.Remove "mycontrol" & c
Licenses.Remove "xydsfasfjewfe"
End If
End If
Next c
Set cTLI = Nothing
Err = 0
End Sub
Private Sub Dir1_Change()
File1.Path = Dir1.Path
End Sub
Private Sub Form_Load()
Dim valor As Variant
Set MyHelpCallBack = New HelpCallBack
Call clsXmenu.Install(hwnd, MyHelpCallBack, Me.imlMain)
Call clsXmenu.FontName(hwnd, "Tahoma")
C_PATH = Ini.Leer("general", "path", C_INI)
If C_PATH = "" Then
C_PATH = WinSystemDir() & "\"
Call Ini.Grabar(C_INI, "general", "path", C_PATH)
End If
valor = Ini.Leer("general", "instalar", C_INI)
If valor = "" Then
glbInstallInterno = True
ElseIf valor = "1" Then
glbInstallInterno = True
ElseIf valor = "0" Then
glbInstallInterno = False
Else
glbInstallInterno = True
End If
valor = Ini.Leer("general", "instalar_s", C_INI)
If valor = "" Then
glbInstallSilent = True
ElseIf valor = "1" Then
glbInstallSilent = True
ElseIf valor = "0" Then
glbInstallSilent = False
Else
glbInstallSilent = True
End If
Call Actualizar
End Sub
Private Sub Form_Resize()
If WindowState <> vbMinimized Then
picMain.Left = 0
picMain.Top = tlbMain.Height + 1
picMain.Height = ScaleHeight - tlbMain.Height - stbMain.Height
lview.Left = picMain.width '+ 1
lview.Top = tlbMain.Height + 1
lview.Height = ScaleHeight - tlbMain.Height - stbMain.Height
lview.width = ScaleWidth - picMain.width
Call Logo
End If
End Sub
Private Sub lview_ColumnClick(ByVal ColumnHeader As MSComctlLib.ColumnHeader)
If lview.SortOrder = lvwAscending Then
lview.SortOrder = lvwDescending
Else
lview.SortOrder = lvwAscending
End If
lview.SortKey = ColumnHeader.Index - 1
lview.Sorted = True
End Sub
Private Sub mnuArchivo_ConfImpresora_Click()
Call ConfigurarPagina
End Sub
Private Sub ConfigurarPagina()
Dim cc As New GCommonDialog
Call cc.VBPageSetupDlg(hwnd)
Set cc = Nothing
End Sub
Private Sub mnuArchivo_Imprimir_Click()
frmImprimir.Show vbModal
End Sub
Private Sub mnuArchivo_Registrar_Click()
Dim Msg As String
Msg = "Confirma comprobar archivo(s)."
If Confirma(Msg) = vbYes Then
Call Comprobar
MsgBox "Comprobación realizada con éxito!", vbInformation
End If
End Sub
Private Sub mnuArchivo_Salir_Click()
Unload Me
End Sub
Private Sub mnuAyuda_Acerca_Click()
frmAcerca.Show vbModal
End Sub
Private Sub mnuEdicion_DesSelTodos_Click()
Dim k As Integer
Call Hourglass(hwnd, True)
For k = 1 To lview.ListItems.Count
lview.ListItems(k).Checked = False
Next k
Call Hourglass(hwnd, False)
End Sub
Private Sub mnuEdicion_SelTodos_Click()
Dim k As Integer
Call Hourglass(hwnd, True)
For k = 1 To lview.ListItems.Count
lview.ListItems(k).Checked = True
Next k
Call Hourglass(hwnd, False)
End Sub
Private Sub mnuOpciones_Path_Click()
frmPath.Show vbModal
End Sub
Private Sub MyHelpCallBack_MenuHelp(ByVal MenuText As String, ByVal MenuHelp As String, ByVal Enabled As Boolean)
stbMain.Panels(1).Text = MenuHelp
End Sub
Private Sub tlbMain_ButtonClick(ByVal Button As MSComctlLib.Button)
Select Case Button.Key
Case "cmdChequear"
mnuArchivo_Registrar_Click
Case "cmdPropiedades"
Case "cmdActualizar"
Call Actualizar
Case "cmdImprimir"
mnuArchivo_Imprimir_Click
Case "cmdSalir"
Call mnuArchivo_Salir_Click
End Select
End Sub