-
Notifications
You must be signed in to change notification settings - Fork 32
/
Icons.frm
787 lines (756 loc) · 24.5 KB
/
Icons.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
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
VERSION 5.00
Object = "{3B7C8863-D78F-101B-B9B5-04021C009402}#1.2#0"; "Richtx32.ocx"
Begin VB.Form frmIcons
BorderStyle = 4 'Fixed ToolWindow
Caption = "List of icons for toolbar"
ClientHeight = 3870
ClientLeft = 45
ClientTop = 285
ClientWidth = 4470
LinkTopic = "Form1"
MaxButton = 0 'False
MinButton = 0 'False
ScaleHeight = 3870
ScaleWidth = 4470
ShowInTaskbar = 0 'False
StartUpPosition = 3 'Windows Default
Begin VB.PictureBox pictVBDoc
AutoSize = -1 'True
Height = 540
Left = 3120
Picture = "Icons.frx":0000
ScaleHeight = 480
ScaleWidth = 480
TabIndex = 51
Top = 2880
Width = 540
End
Begin VB.PictureBox ProjectAnalyzer
AutoSize = -1 'True
Height = 360
Left = 120
Picture = "Icons.frx":0C42
ScaleHeight = 300
ScaleWidth = 330
TabIndex = 50
Top = 720
Width = 390
End
Begin VB.PictureBox MouseZoom
AutoSize = -1 'True
Height = 315
Left = 2760
Picture = "Icons.frx":15EC
ScaleHeight = 255
ScaleWidth = 255
TabIndex = 49
Top = 600
Width = 315
End
Begin VB.PictureBox ListOLEServers
AutoSize = -1 'True
Height = 540
Left = 3360
Picture = "Icons.frx":19A2
ScaleHeight = 480
ScaleWidth = 480
TabIndex = 48
Top = 600
Width = 540
End
Begin VB.PictureBox ColorPicker
AutoSize = -1 'True
Height = 540
Left = 3360
Picture = "Icons.frx":4144
ScaleHeight = 480
ScaleWidth = 480
TabIndex = 47
Top = 2520
Width = 540
End
Begin VB.PictureBox CharPicker
AutoSize = -1 'True
Height = 300
Left = 3000
Picture = "Icons.frx":4586
ScaleHeight = 240
ScaleWidth = 240
TabIndex = 46
Top = 2520
Width = 300
End
Begin VB.PictureBox IndentProject
AutoSize = -1 'True
Height = 300
Left = 1560
Picture = "Icons.frx":4B10
ScaleHeight = 240
ScaleWidth = 240
TabIndex = 45
Top = 600
Width = 300
End
Begin VB.PictureBox IndentModule
AutoSize = -1 'True
Height = 300
Left = 1200
Picture = "Icons.frx":4E9A
ScaleHeight = 240
ScaleWidth = 240
TabIndex = 44
Top = 600
Width = 300
End
Begin VB.PictureBox IndentProcedure
AutoSize = -1 'True
Height = 300
Left = 840
Picture = "Icons.frx":5224
ScaleHeight = 240
ScaleWidth = 240
TabIndex = 43
Top = 600
Width = 300
End
Begin VB.PictureBox CloseAllWindows
AutoSize = -1 'True
Height = 300
Left = 3000
Picture = "Icons.frx":55AE
ScaleHeight = 240
ScaleWidth = 240
TabIndex = 42
Top = 3600
Width = 300
End
Begin VB.PictureBox PropertyBuilder
AutoSize = -1 'True
Height = 300
Left = 2640
Picture = "Icons.frx":5B38
ScaleHeight = 240
ScaleWidth = 240
TabIndex = 41
Top = 3600
Width = 300
End
Begin VB.PictureBox ExportHTML
AutoSize = -1 'True
Height = 300
Left = 2280
Picture = "Icons.frx":60C2
ScaleHeight = 240
ScaleWidth = 240
TabIndex = 40
Top = 3600
Width = 300
End
Begin VB.PictureBox GenerateGUID
AutoSize = -1 'True
Height = 300
Left = 1920
Picture = "Icons.frx":644C
ScaleHeight = 240
ScaleWidth = 240
TabIndex = 39
Top = 3600
Width = 300
End
Begin VB.PictureBox GenerateDLLBaseAdress
AutoSize = -1 'True
Height = 540
Left = 1320
Picture = "Icons.frx":6596
ScaleHeight = 480
ScaleWidth = 480
TabIndex = 38
Top = 3360
Width = 540
End
Begin VB.PictureBox ADOConnectionCreator
AutoSize = -1 'True
Height = 540
Left = 600
Picture = "Icons.frx":8D38
ScaleHeight = 480
ScaleWidth = 480
TabIndex = 37
Top = 3360
Width = 540
End
Begin VB.PictureBox FindAndReplace
AutoSize = -1 'True
Height = 300
Left = 120
Picture = "Icons.frx":C542
ScaleHeight = 240
ScaleWidth = 240
TabIndex = 36
Top = 3600
Width = 300
End
Begin VB.PictureBox ProjProcHeader
AutoSize = -1 'True
Height = 300
Left = 1920
Picture = "Icons.frx":C68C
ScaleHeight = 240
ScaleWidth = 240
TabIndex = 35
Top = 240
Width = 300
End
Begin VB.PictureBox Accelerator
AutoSize = -1 'True
Height = 540
Left = 3960
Picture = "Icons.frx":CC16
ScaleHeight = 480
ScaleWidth = 480
TabIndex = 33
Top = 2520
Width = 540
End
Begin VB.PictureBox RemoveLineNumbering
AutoSize = -1 'True
Height = 300
Left = 2640
Picture = "Icons.frx":D058
ScaleHeight = 240
ScaleWidth = 240
TabIndex = 32
Top = 3240
Width = 300
End
Begin VB.PictureBox AddLineNumbering
AutoSize = -1 'True
Height = 300
Left = 2280
Picture = "Icons.frx":D1A2
ScaleHeight = 240
ScaleWidth = 240
TabIndex = 31
Top = 3240
Width = 300
End
Begin VB.PictureBox VBDiamond
AutoSize = -1 'True
Height = 300
Left = 2640
Picture = "Icons.frx":D2EC
ScaleHeight = 240
ScaleWidth = 240
TabIndex = 30
Top = 2880
Width = 300
End
Begin VB.PictureBox ProjectExplorer
AutoSize = -1 'True
Height = 300
Left = 1920
Picture = "Icons.frx":D876
ScaleHeight = 240
ScaleWidth = 240
TabIndex = 29
Top = 1920
Width = 300
End
Begin VB.PictureBox Dependencies
AutoSize = -1 'True
Height = 300
Left = 2280
Picture = "Icons.frx":DE00
ScaleHeight = 240
ScaleWidth = 240
TabIndex = 28
Top = 2520
Width = 300
End
Begin VB.PictureBox Properties
AutoSize = -1 'True
Height = 300
Left = 1560
Picture = "Icons.frx":E38A
ScaleHeight = 240
ScaleWidth = 240
TabIndex = 27
Top = 2880
Width = 300
End
Begin VB.PictureBox StringExtractor
AutoSize = -1 'True
Height = 300
Left = 1560
Picture = "Icons.frx":E914
ScaleHeight = 240
ScaleWidth = 240
TabIndex = 26
Top = 2520
Width = 300
End
Begin VB.PictureBox EnhancedErrorMod
AutoSize = -1 'True
Height = 300
Left = 840
Picture = "Icons.frx":EA5E
ScaleHeight = 240
ScaleWidth = 240
TabIndex = 25
Top = 2880
Width = 300
End
Begin VB.PictureBox EnhancedErrorProc
AutoSize = -1 'True
Height = 300
Left = 840
Picture = "Icons.frx":EDA0
ScaleHeight = 240
ScaleWidth = 240
TabIndex = 24
Top = 2520
Width = 300
End
Begin VB.PictureBox ErrorModule
AutoSize = -1 'True
Height = 300
Left = 120
Picture = "Icons.frx":F0E2
ScaleHeight = 240
ScaleWidth = 240
TabIndex = 23
Top = 2880
Width = 300
End
Begin VB.PictureBox ErrorProcedure
AutoSize = -1 'True
Height = 300
Left = 120
Picture = "Icons.frx":F46C
ScaleHeight = 240
ScaleWidth = 240
TabIndex = 22
Top = 2520
Width = 300
End
Begin VB.PictureBox ModProcHeader
AutoSize = -1 'True
Height = 300
Left = 1560
Picture = "Icons.frx":F7F6
ScaleHeight = 240
ScaleWidth = 240
TabIndex = 21
Top = 240
Width = 300
End
Begin VB.PictureBox Swap
AutoSize = -1 'True
Height = 300
Left = 2640
Picture = "Icons.frx":FD80
ScaleHeight = 240
ScaleWidth = 240
TabIndex = 20
Top = 2520
Width = 300
End
Begin VB.PictureBox Alphabetize
AutoSize = -1 'True
Height = 300
Left = 1560
Picture = "Icons.frx":1010A
ScaleHeight = 240
ScaleWidth = 240
TabIndex = 19
Top = 1920
Width = 300
End
Begin VB.PictureBox ActiveXExplorer
AutoSize = -1 'True
Height = 540
Left = 840
Picture = "Icons.frx":10494
ScaleHeight = 480
ScaleWidth = 480
TabIndex = 18
Top = 1920
Width = 540
End
Begin VB.PictureBox DBCreator
AutoSize = -1 'True
Height = 540
Left = 120
Picture = "Icons.frx":108D6
ScaleHeight = 480
ScaleWidth = 480
TabIndex = 17
Top = 1920
Width = 540
End
Begin VB.PictureBox IconExplorer
AutoSize = -1 'True
Height = 540
Left = 2760
Picture = "Icons.frx":13078
ScaleHeight = 480
ScaleWidth = 480
TabIndex = 16
Top = 1920
Width = 540
End
Begin VB.PictureBox Register
AutoSize = -1 'True
Height = 540
Left = 2280
Picture = "Icons.frx":134BA
ScaleHeight = 480
ScaleWidth = 480
TabIndex = 15
Top = 1320
Width = 540
End
Begin VB.PictureBox ClassSpy
AutoSize = -1 'True
Height = 540
Left = 1560
Picture = "Icons.frx":13A3C
ScaleHeight = 480
ScaleWidth = 480
TabIndex = 14
Top = 1320
Width = 540
End
Begin VB.PictureBox CodeDatabase
AutoSize = -1 'True
Height = 540
Left = 840
Picture = "Icons.frx":13D46
ScaleHeight = 480
ScaleWidth = 480
TabIndex = 13
Top = 1320
Width = 540
End
Begin VB.PictureBox Toolbar
AutoSize = -1 'True
Height = 300
Left = 120
Picture = "Icons.frx":14188
ScaleHeight = 240
ScaleWidth = 240
TabIndex = 12
Top = 1320
Width = 300
End
Begin VB.PictureBox MsgBox
AutoSize = -1 'True
Height = 300
Left = 4080
Picture = "Icons.frx":14712
ScaleHeight = 240
ScaleWidth = 240
TabIndex = 11
Top = 1320
Width = 300
End
Begin VB.PictureBox KeyCode
AutoSize = -1 'True
Height = 540
Left = 3360
Picture = "Icons.frx":14A9C
ScaleHeight = 480
ScaleWidth = 480
TabIndex = 10
Top = 1920
Width = 540
End
Begin VB.PictureBox APIError
AutoSize = -1 'True
Height = 300
Left = 3720
Picture = "Icons.frx":14DA6
ScaleHeight = 240
ScaleWidth = 240
TabIndex = 9
Top = 1320
Width = 300
End
Begin VB.PictureBox ClearDebug
AutoSize = -1 'True
Height = 300
Left = 3360
Picture = "Icons.frx":15330
ScaleHeight = 240
ScaleWidth = 240
TabIndex = 8
Top = 1320
Width = 300
End
Begin VB.PictureBox TabOrder
AutoSize = -1 'True
Height = 300
Left = 3000
Picture = "Icons.frx":158BA
ScaleHeight = 240
ScaleWidth = 240
TabIndex = 7
Top = 1320
Width = 300
End
Begin VB.PictureBox VBIDEUtils
AutoSize = -1 'True
Height = 540
Left = 120
Picture = "Icons.frx":15E44
ScaleHeight = 480
ScaleWidth = 480
TabIndex = 6
Top = 120
Width = 540
End
Begin VB.PictureBox Inline
AutoSize = -1 'True
Height = 300
Left = 3120
Picture = "Icons.frx":1614E
ScaleHeight = 240
ScaleWidth = 240
TabIndex = 5
Top = 240
Width = 300
End
Begin VB.PictureBox Pending
AutoSize = -1 'True
Height = 300
Left = 2640
Picture = "Icons.frx":166D8
ScaleHeight = 240
ScaleWidth = 240
TabIndex = 4
Top = 1320
Width = 300
End
Begin VB.PictureBox RemoveAll
AutoSize = -1 'True
Height = 300
Left = 2760
Picture = "Icons.frx":16C62
ScaleHeight = 240
ScaleWidth = 240
TabIndex = 3
Top = 240
Width = 300
End
Begin VB.PictureBox ProcHeader
AutoSize = -1 'True
Height = 300
Left = 1200
Picture = "Icons.frx":171EC
ScaleHeight = 240
ScaleWidth = 240
TabIndex = 2
Top = 240
Width = 300
End
Begin VB.PictureBox ModHeader
AutoSize = -1 'True
Height = 300
Left = 840
Picture = "Icons.frx":17776
ScaleHeight = 240
ScaleWidth = 240
TabIndex = 1
Top = 240
Width = 300
End
Begin VB.PictureBox AllComment
AutoSize = -1 'True
Height = 300
Left = 2400
Picture = "Icons.frx":17D00
ScaleHeight = 240
ScaleWidth = 240
TabIndex = 0
Top = 240
Width = 300
End
Begin RichTextLib.RichTextBox rtfColorize
Height = 735
Left = 3840
TabIndex = 34
Top = 3360
Width = 855
_ExtentX = 1508
_ExtentY = 1296
_Version = 393217
TextRTF = $"Icons.frx":1828A
End
End
Attribute VB_Name = "frmIcons"
Attribute VB_GlobalNameSpace = False
Attribute VB_Creatable = False
Attribute VB_PredeclaredId = True
Attribute VB_Exposed = False
' #VBIDEUtils#************************************************************
' * Programmer Name : removed
' * Web Site : http://www.ppreview.net
' * E-Mail : removed
' * Date : 04/11/1999
' * Time : 16:51
' * Module Name : frmIcons
' * Module Filename : Icons.frm
' **********************************************************************
' * Comments :
' *
' *
' **********************************************************************
Option Explicit
' *** Make transparent Bitmap
Private Type RECT
left As Long
top As Long
right As Long
bottom As Long
End Type
Private Declare Function BitBlt Lib "gdi32" (ByVal hdcDest As Long, ByVal XDest As Long, ByVal YDest As Long, ByVal nWidth As Long, ByVal nHeight As Long, ByVal hDCSrc As Long, ByVal xSrc As Long, ByVal ySrc As Long, ByVal dwRop As Long) As Long
Private Declare Function CreateBitmap Lib "gdi32" (ByVal nWidth As Long, ByVal nHeight As Long, ByVal nPlanes As Long, ByVal nBitCount As Long, lpBits As Any) As Long
Private Declare Function SetBkColor Lib "gdi32" (ByVal hdc As Long, ByVal crColor As Long) As Long
Private Declare Function SelectObject Lib "gdi32" (ByVal hdc As Long, ByVal hObject As Long) As Long
Private Declare Function CreateCompatibleBitmap Lib "gdi32" (ByVal hdc As Long, ByVal nWidth As Long, ByVal nHeight As Long) As Long
Private Declare Function CreateCompatibleDC Lib "gdi32" (ByVal hdc As Long) As Long
Private Declare Function DeleteDC Lib "gdi32" (ByVal hdc As Long) As Long
Private Declare Function DeleteObject Lib "gdi32" (ByVal hObject As Long) As Long
Private Sub MakeTransparentBitmap(OutDstDC As Long, DstDC As Long, SrcDC As Long, SrcRect As RECT, DstX As Integer, DstY As Integer, TransColor As Long)
' #VBIDEUtils#************************************************************
' * Programmer Name : removed
' * Web Site : http://www.ppreview.net
' * E-Mail : removed
' * Date : 30/10/98
' * Time : 14:28
' * Module Name : frmIcons
' * Module Filename : Icons.frm
' * Procedure Name : MakeTransparentBitmap
' * Parameters :
' * OutDstDC As Long
' * DstDC As Long
' * SrcDC As Long
' * SrcRect As RECT
' * DstX As Integer
' * DstY As Integer
' * TransColor As Long
' **********************************************************************
' * Comments :
' * DstDC- Device context into which image must be
' * drawn transparently
' *
' * OutDstDC- Device context into image is actually drawn,
' * even though it is made transparent in terms of DstDC
' *
' * Src- Device context of source to be made transparent
' * in color TransColor
' *
' * SrcRect- Rectangular region within SrcDC to be made
' * transparent in terms of DstDC, and drawn to OutDstDC
' *
' * DstX, DstY - Coordinates in OutDstDC (and DstDC)
' * where the transparent bitmap must go. In most
' * cases, OutDstDC and DstDC will be the same
' *
' *
' **********************************************************************
Dim nRet As Long
Dim w As Integer
Dim h As Integer
Dim MonoMaskDC As Long
Dim hMonoMask As Long
Dim MonoInvDC As Long
Dim hMonoInv As Long
Dim ResultDstDC As Long
Dim hResultDst As Long
Dim ResultSrcDC As Long
Dim hResultSrc As Long
Dim hPrevMask As Long
Dim hPrevInv As Long
Dim hPrevSrc As Long
Dim hPrevDst As Long
w = SrcRect.right - SrcRect.left + 1
h = SrcRect.bottom - SrcRect.top + 1
'create monochrome mask and inverse masks
MonoMaskDC = CreateCompatibleDC(DstDC)
MonoInvDC = CreateCompatibleDC(DstDC)
hMonoMask = CreateBitmap(w, h, 1, 1, ByVal 0&)
hMonoInv = CreateBitmap(w, h, 1, 1, ByVal 0&)
hPrevMask = SelectObject(MonoMaskDC, hMonoMask)
hPrevInv = SelectObject(MonoInvDC, hMonoInv)
'create keeper DCs and bitmaps
ResultDstDC = CreateCompatibleDC(DstDC)
ResultSrcDC = CreateCompatibleDC(DstDC)
hResultDst = CreateCompatibleBitmap(DstDC, w, h)
hResultSrc = CreateCompatibleBitmap(DstDC, w, h)
hPrevDst = SelectObject(ResultDstDC, hResultDst)
hPrevSrc = SelectObject(ResultSrcDC, hResultSrc)
'copy src to monochrome mask
Dim OldBC As Long
OldBC = SetBkColor(SrcDC, TransColor)
nRet = BitBlt(MonoMaskDC, 0, 0, w, h, SrcDC, SrcRect.left, SrcRect.top, vbSrcCopy)
TransColor = SetBkColor(SrcDC, OldBC)
'create inverse of mask
nRet = BitBlt(MonoInvDC, 0, 0, w, h, MonoMaskDC, 0, 0, vbNotSrcCopy)
'get background
nRet = BitBlt(ResultDstDC, 0, 0, w, h, DstDC, DstX, DstY, vbSrcCopy)
'AND with Monochrome mask
nRet = BitBlt(ResultDstDC, 0, 0, w, h, MonoMaskDC, 0, 0, vbSrcAnd)
'get overlapper
nRet = BitBlt(ResultSrcDC, 0, 0, w, h, SrcDC, SrcRect.left, SrcRect.top, vbSrcCopy)
'AND with inverse monochrome mask
nRet = BitBlt(ResultSrcDC, 0, 0, w, h, MonoInvDC, 0, 0, vbSrcAnd)
'XOR these two
nRet = BitBlt(ResultDstDC, 0, 0, w, h, ResultSrcDC, 0, 0, vbSrcInvert)
'output results
nRet = BitBlt(OutDstDC, DstX, DstY, w, h, ResultDstDC, 0, 0, vbSrcCopy)
'clean up
hMonoMask = SelectObject(MonoMaskDC, hPrevMask)
DeleteObject hMonoMask
hMonoInv = SelectObject(MonoInvDC, hPrevInv)
DeleteObject hMonoInv
hResultDst = SelectObject(ResultDstDC, hPrevDst)
DeleteObject hResultDst
hResultSrc = SelectObject(ResultSrcDC, hPrevSrc)
DeleteObject hResultSrc
DeleteDC MonoMaskDC
DeleteDC MonoInvDC
DeleteDC ResultDstDC
DeleteDC ResultSrcDC
End Sub
Private Sub SetTransparent(pict As PictureBox)
' #VBIDEUtils#************************************************************
' * Programmer Name : removed
' * Web Site : http://www.ppreview.net
' * E-Mail : removed
' * Date : 04/11/1999
' * Time : 16:51
' * Module Name : frmIcons
' * Module Filename : Icons.frm
' * Procedure Name : SetTransparent
' * Parameters :
' * pict As PictureBox
' **********************************************************************
' * Comments :
' *
' *
' **********************************************************************
' *** Set the image as transparent
Dim r As RECT
With r
.left = 0
.top = 0
.right = pict.ScaleWidth
.bottom = pict.ScaleHeight
End With
'Call MakeTransparentBitmap(Pending.hdc, Pending.hdc, pict.hdc, R, 20, 20, &H8000000F)
Call MakeTransparentBitmap(Pending.hdc, pict.hdc, pict.hdc, r, 0, 0, &HFF&)
End Sub
Private Sub Form_Load()
'Call SetTransparent(Pending2)
End Sub