FindFilesUnit.pas
上传用户:gdszzsp
上传日期:2007-01-08
资源大小:621k
文件大小:34k
- unit FindFilesUnit;
- interface
- uses
- Windows, Messages, SysUtils, Classes, Graphics,
- Controls, Forms, Dialogs, StdCtrls;
- type
- TFindFiles=class(TForm)
- CaptionLabel: TLabel;
- CloseButton: TFlatSpeedButton;
- Label1: TLabel;
- OutlookBtn1: TOutlookBtn;
- OutlookBtn2: TOutlookBtn;
- Lista: TListBox;
- FlatHint: TFlatHint;
- procedure CaptionLabelMouseDown(Sender: TObject; Button: TMouseButton; Shift: TShiftState; X: Integer; Y: Integer);
- procedure CaptionLabelMouseMove(Sender: TObject; Shift: TShiftState; X: Integer; Y: Integer);
- procedure CaptionLabelMouseUp(Sender: TObject; Button: TMouseButton; Shift: TShiftState; X: Integer; Y: Integer);
- procedure CloseButtonClick(Sender: TObject);
- procedure FormCreate(Sender: TObject);
- procedure FormPaint(Sender: TObject);
- procedure FormResize(Sender: TObject);
- procedure OutlookBtn1Click(Sender: TObject);
- procedure OutlookBtn2Click(Sender: TObject);
- private
- { Private declarations }
- public
- { Public declarations }
- end ;
- var
- FindFiles: TFindFiles;
- {This file is generated by DeDe v2.34 (c) 1999 by DaFixer}
- implementation
- {$R *.DFM}
- procedure TFindFiles.CaptionLabelMouseDown(Sender: TObject; Button: TMouseButton; Shift: TShiftState; X: Integer; Y: Integer);
- begin
- {
- 004D4FA0 55 push ebp
- 004D4FA1 8BEC mov ebp, esp
- 004D4FA3 53 push ebx
- 004D4FA4 8BD8 mov ebx, eax
- 004D4FA6 8B83C4020000 mov eax, [ebx+$02C4]
- 004D4FAC 8B4024 mov eax, [eax+$24]
- 004D4FAF E82875F6FF call 0043C4DC
- 004D4FB4 50 push eax
- * Reference to: SHBrowseForFolderA.SetCapture
- |
- 004D4FB5 E8BE28F3FF call 00407878
- 004D4FBA C783E8020000FFFFFFFF mov dword ptr [ebx+$02E8], $FFFFFFFF
- 004D4FC4 8B450C mov eax, [ebp+$0C]
- 004D4FC7 8983E0020000 mov [ebx+$02E0], eax
- 004D4FCD 8B4508 mov eax, [ebp+$08]
- 004D4FD0 8983E4020000 mov [ebx+$02E4], eax
- 004D4FD6 5B pop ebx
- 004D4FD7 5D pop ebp
- 004D4FD8 C20C ret $0C
- }
- end ;
- procedure TFindFiles.CaptionLabelMouseMove(Sender: TObject; Shift: TShiftState; X: Integer; Y: Integer);
- begin
- {
- 004D4FDC 55 push ebp
- 004D4FDD 8BEC mov ebp, esp
- 004D4FDF 53 push ebx
- 004D4FE0 56 push esi
- 004D4FE1 8BD8 mov ebx, eax
- 004D4FE3 83BBE802000000 cmp dword ptr [ebx+$02E8], +$00
- 004D4FEA 7433 jz 004D501F
- 004D4FEC 8B83C4020000 mov eax, [ebx+$02C4]
- 004D4FF2 8B7024 mov esi, [eax+$24]
- 004D4FF5 8B83E0020000 mov eax, [ebx+$02E0]
- 004D4FFB 2B450C sub eax, dword ptr [ebp+$0C]
- 004D4FFE 8B5630 mov edx, [esi+$30]
- 004D5001 2BD0 sub edx, eax
- 004D5003 8BC6 mov eax, esi
- 004D5005 E8A20EF6FF call 00435EAC
- 004D500A 8B83E4020000 mov eax, [ebx+$02E4]
- 004D5010 2B4508 sub eax, dword ptr [ebp+$08]
- 004D5013 8B5634 mov edx, [esi+$34]
- 004D5016 2BD0 sub edx, eax
- 004D5018 8BC6 mov eax, esi
- 004D501A E8B10EF6FF call 00435ED0
- 004D501F 5E pop esi
- 004D5020 5B pop ebx
- 004D5021 5D pop ebp
- 004D5022 C208 ret $08
- }
- end ;
- procedure TFindFiles.CaptionLabelMouseUp(Sender: TObject; Button: TMouseButton; Shift: TShiftState; X: Integer; Y: Integer);
- begin
- {
- 004D5028 55 push ebp
- 004D5029 8BEC mov ebp, esp
- 004D502B 53 push ebx
- 004D502C 56 push esi
- 004D502D 8BD8 mov ebx, eax
- 004D502F 83BBE802000000 cmp dword ptr [ebx+$02E8], +$00
- 004D5036 7440 jz 004D5078
- 004D5038 8B83C4020000 mov eax, [ebx+$02C4]
- 004D503E 8B7024 mov esi, [eax+$24]
- * Reference to: SHBrowseForFolderA.ReleaseCapture
- |
- 004D5041 E8E227F3FF call 00407828
- 004D5046 33C0 xor eax, eax
- 004D5048 8983E8020000 mov [ebx+$02E8], eax
- 004D504E 8B83E0020000 mov eax, [ebx+$02E0]
- 004D5054 2B450C sub eax, dword ptr [ebp+$0C]
- 004D5057 8B5630 mov edx, [esi+$30]
- 004D505A 2BD0 sub edx, eax
- 004D505C 8BC6 mov eax, esi
- 004D505E E8490EF6FF call 00435EAC
- 004D5063 8B83E4020000 mov eax, [ebx+$02E4]
- 004D5069 2B4508 sub eax, dword ptr [ebp+$08]
- 004D506C 8B5634 mov edx, [esi+$34]
- 004D506F 2BD0 sub edx, eax
- 004D5071 8BC6 mov eax, esi
- 004D5073 E8580EF6FF call 00435ED0
- 004D5078 5E pop esi
- 004D5079 5B pop ebx
- 004D507A 5D pop ebp
- 004D507B C20C ret $0C
- }
- end ;
- procedure TFindFiles.CloseButtonClick(Sender: TObject);
- begin
- {
- 004D4F98 E8DFAAF7FF call 0044FA7C
- 004D4F9D C3 ret
- }
- end ;
- procedure TFindFiles.FormCreate(Sender: TObject);
- begin
- {
- 004D4D40 55 push ebp
- 004D4D41 8BEC mov ebp, esp
- 004D4D43 6A00 push $00
- 004D4D45 6A00 push $00
- 004D4D47 53 push ebx
- 004D4D48 56 push esi
- 004D4D49 8BD8 mov ebx, eax
- 004D4D4B 8B35DC495400 mov esi, [$5449DC]
- 004D4D51 33C0 xor eax, eax
- 004D4D53 55 push ebp
- 004D4D54 68594F4D00 push $004D4F59
- ***** TRY
- |
- 004D4D59 64FF30 push dword ptr fs:[eax]
- 004D4D5C 648920 mov fs:[eax], esp
- 004D4D5F 8BC3 mov eax, ebx
- 004D4D61 E85EFEFFFF call 004D4BC4
- 004D4D66 8B06 mov eax, [esi]
- 004D4D68 8A9085000000 mov dl, byte ptr [eax+$0085]
- 004D4D6E 8BC3 mov eax, ebx
- 004D4D70 E8BF1AF6FF call 00436834
- 004D4D75 C7430C03000000 mov dword ptr [ebx+$0C], $00000003
- 004D4D7C A1B44E5400 mov eax, dword ptr [$544EB4]
- 004D4D81 8B00 mov eax, [eax]
- 004D4D83 E844BCF7FF call 004509CC
- 004D4D88 8BD0 mov edx, eax
- 004D4D8A 2B5338 sub edx, dword ptr [ebx+$38]
- 004D4D8D D1FA sar edx, 1
- 004D4D8F 7903 jns 004D4D94
- 004D4D91 83D200 adc edx, +$00
- 004D4D94 8BC3 mov eax, ebx
- 004D4D96 E81111F6FF call 00435EAC
- 004D4D9B A1B44E5400 mov eax, dword ptr [$544EB4]
- 004D4DA0 8B00 mov eax, [eax]
- 004D4DA2 E819BCF7FF call 004509C0
- 004D4DA7 8BD0 mov edx, eax
- 004D4DA9 2B533C sub edx, dword ptr [ebx+$3C]
- 004D4DAC D1FA sar edx, 1
- 004D4DAE 7903 jns 004D4DB3
- 004D4DB0 83D200 adc edx, +$00
- 004D4DB3 8BC3 mov eax, ebx
- 004D4DB5 E81611F6FF call 00435ED0
- 004D4DBA 8D55F8 lea edx, [ebp-$08]
- 004D4DBD 8B430C mov eax, [ebx+$0C]
- 004D4DC0 E8A740F3FF call 00408E6C
- 004D4DC5 8D45F8 lea eax, [ebp-$08]
- * Possible String Reference to: "_x"
- |
- 004D4DC8 BA704F4D00 mov edx, $004D4F70
- 004D4DCD E80EF1F2FF call 00403EE0
- 004D4DD2 8B55F8 mov edx, [ebp-$08]
- 004D4DD5 8D4DFC lea ecx, [ebp-$04]
- 004D4DD8 8B06 mov eax, [esi]
- 004D4DDA E895DE0300 call 00512C74
- 004D4DDF 837DFC00 cmp dword ptr [ebp-$04], +$00
- 004D4DE3 7436 jz 004D4E1B
- 004D4DE5 8D55F8 lea edx, [ebp-$08]
- 004D4DE8 8B430C mov eax, [ebx+$0C]
- 004D4DEB E87C40F3FF call 00408E6C
- 004D4DF0 8D45F8 lea eax, [ebp-$08]
- * Possible String Reference to: "_x"
- |
- 004D4DF3 BA704F4D00 mov edx, $004D4F70
- 004D4DF8 E8E3F0F2FF call 00403EE0
- 004D4DFD 8B55F8 mov edx, [ebp-$08]
- 004D4E00 8D4DFC lea ecx, [ebp-$04]
- 004D4E03 8B06 mov eax, [esi]
- 004D4E05 E86ADE0300 call 00512C74
- 004D4E0A 8B45FC mov eax, [ebp-$04]
- 004D4E0D E8BE40F3FF call 00408ED0
- 004D4E12 8BD0 mov edx, eax
- 004D4E14 8BC3 mov eax, ebx
- 004D4E16 E89110F6FF call 00435EAC
- 004D4E1B 8D55F8 lea edx, [ebp-$08]
- 004D4E1E 8B430C mov eax, [ebx+$0C]
- 004D4E21 E84640F3FF call 00408E6C
- 004D4E26 8D45F8 lea eax, [ebp-$08]
- * Possible String Reference to: "_y"
- |
- 004D4E29 BA7C4F4D00 mov edx, $004D4F7C
- 004D4E2E E8ADF0F2FF call 00403EE0
- 004D4E33 8B55F8 mov edx, [ebp-$08]
- 004D4E36 8D4DFC lea ecx, [ebp-$04]
- 004D4E39 8B06 mov eax, [esi]
- 004D4E3B E834DE0300 call 00512C74
- 004D4E40 837DFC00 cmp dword ptr [ebp-$04], +$00
- 004D4E44 7436 jz 004D4E7C
- 004D4E46 8D55F8 lea edx, [ebp-$08]
- 004D4E49 8B430C mov eax, [ebx+$0C]
- 004D4E4C E81B40F3FF call 00408E6C
- 004D4E51 8D45F8 lea eax, [ebp-$08]
- * Possible String Reference to: "_y"
- |
- 004D4E54 BA7C4F4D00 mov edx, $004D4F7C
- 004D4E59 E882F0F2FF call 00403EE0
- 004D4E5E 8B55F8 mov edx, [ebp-$08]
- 004D4E61 8D4DFC lea ecx, [ebp-$04]
- 004D4E64 8B06 mov eax, [esi]
- 004D4E66 E809DE0300 call 00512C74
- 004D4E6B 8B45FC mov eax, [ebp-$04]
- 004D4E6E E85D40F3FF call 00408ED0
- 004D4E73 8BD0 mov edx, eax
- 004D4E75 8BC3 mov eax, ebx
- 004D4E77 E85410F6FF call 00435ED0
- 004D4E7C 8D55F8 lea edx, [ebp-$08]
- 004D4E7F 8B430C mov eax, [ebx+$0C]
- 004D4E82 E8E53FF3FF call 00408E6C
- 004D4E87 8D45F8 lea eax, [ebp-$08]
- * Possible String Reference to: "_h"
- |
- 004D4E8A BA884F4D00 mov edx, $004D4F88
- 004D4E8F E84CF0F2FF call 00403EE0
- 004D4E94 8B55F8 mov edx, [ebp-$08]
- 004D4E97 8D4DFC lea ecx, [ebp-$04]
- 004D4E9A 8B06 mov eax, [esi]
- 004D4E9C E8D3DD0300 call 00512C74
- 004D4EA1 837DFC00 cmp dword ptr [ebp-$04], +$00
- 004D4EA5 7436 jz 004D4EDD
- 004D4EA7 8D55F8 lea edx, [ebp-$08]
- 004D4EAA 8B430C mov eax, [ebx+$0C]
- 004D4EAD E8BA3FF3FF call 00408E6C
- 004D4EB2 8D45F8 lea eax, [ebp-$08]
- * Possible String Reference to: "_h"
- |
- 004D4EB5 BA884F4D00 mov edx, $004D4F88
- 004D4EBA E821F0F2FF call 00403EE0
- 004D4EBF 8B55F8 mov edx, [ebp-$08]
- 004D4EC2 8D4DFC lea ecx, [ebp-$04]
- 004D4EC5 8B06 mov eax, [esi]
- 004D4EC7 E8A8DD0300 call 00512C74
- 004D4ECC 8B45FC mov eax, [ebp-$04]
- 004D4ECF E8FC3FF3FF call 00408ED0
- 004D4ED4 8BD0 mov edx, eax
- 004D4ED6 8BC3 mov eax, ebx
- 004D4ED8 E83F10F6FF call 00435F1C
- 004D4EDD 8D55F8 lea edx, [ebp-$08]
- 004D4EE0 8B430C mov eax, [ebx+$0C]
- 004D4EE3 E8843FF3FF call 00408E6C
- 004D4EE8 8D45F8 lea eax, [ebp-$08]
- * Possible String Reference to: "_w"
- |
- 004D4EEB BA944F4D00 mov edx, $004D4F94
- 004D4EF0 E8EBEFF2FF call 00403EE0
- 004D4EF5 8B55F8 mov edx, [ebp-$08]
- 004D4EF8 8D4DFC lea ecx, [ebp-$04]
- 004D4EFB 8B06 mov eax, [esi]
- 004D4EFD E872DD0300 call 00512C74
- 004D4F02 837DFC00 cmp dword ptr [ebp-$04], +$00
- 004D4F06 7436 jz 004D4F3E
- 004D4F08 8D55F8 lea edx, [ebp-$08]
- 004D4F0B 8B430C mov eax, [ebx+$0C]
- 004D4F0E E8593FF3FF call 00408E6C
- 004D4F13 8D45F8 lea eax, [ebp-$08]
- * Possible String Reference to: "_w"
- |
- 004D4F16 BA944F4D00 mov edx, $004D4F94
- 004D4F1B E8C0EFF2FF call 00403EE0
- 004D4F20 8B55F8 mov edx, [ebp-$08]
- 004D4F23 8D4DFC lea ecx, [ebp-$04]
- 004D4F26 8B06 mov eax, [esi]
- 004D4F28 E847DD0300 call 00512C74
- 004D4F2D 8B45FC mov eax, [ebp-$04]
- 004D4F30 E89B3FF3FF call 00408ED0
- 004D4F35 8BD0 mov edx, eax
- 004D4F37 8BC3 mov eax, ebx
- 004D4F39 E8BA0FF6FF call 00435EF8
- 004D4F3E 33C0 xor eax, eax
- 004D4F40 5A pop edx
- 004D4F41 59 pop ecx
- 004D4F42 59 pop ecx
- 004D4F43 648910 mov fs:[eax], edx
- ****** FINALLY
- |
- * Possible String Reference to: "^[YY]