GetPathUnit.pas
上传用户:gdszzsp
上传日期:2007-01-08
资源大小:621k
文件大小:33k
源码类别:

远程控制编程

开发平台:

Delphi

  1. unit GetPathUnit;
  2. interface
  3. uses
  4.   Windows, Messages, SysUtils, Classes, Graphics,
  5.   Controls, Forms, Dialogs, StdCtrls;
  6. type
  7.   TGetNewPath=class(TForm)
  8.     CaptionLabel: TLabel;
  9.     CloseButton: TFlatSpeedButton;
  10.     OutlookBtn1: TOutlookBtn;
  11.     OutlookBtn2: TOutlookBtn;
  12.     ListDrives: TListBox;
  13.     procedure CaptionLabelMouseDown(Sender: TObject; Button: TMouseButton; Shift: TShiftState; X: Integer; Y: Integer);
  14.     procedure CaptionLabelMouseMove(Sender: TObject; Shift: TShiftState; X: Integer; Y: Integer);
  15.     procedure CaptionLabelMouseUp(Sender: TObject; Button: TMouseButton; Shift: TShiftState; X: Integer; Y: Integer);
  16.     procedure CloseButtonClick(Sender: TObject);
  17.     procedure FormCreate(Sender: TObject);
  18.     procedure FormPaint(Sender: TObject);
  19.     procedure FormResize(Sender: TObject);
  20.     procedure OutlookBtn1Click(Sender: TObject);
  21.     procedure OutlookBtn2Click(Sender: TObject);
  22.   private
  23.     { Private declarations }
  24.   public
  25.     { Public declarations }
  26.   end ;
  27. var
  28.   GetNewPath: TGetNewPath;
  29. {This file is generated by DeDe v2.34 (c) 1999 by DaFixer}
  30. implementation
  31. {$R *.DFM}
  32. procedure TGetNewPath.CaptionLabelMouseDown(Sender: TObject; Button: TMouseButton; Shift: TShiftState; X: Integer; Y: Integer);
  33. begin
  34. {
  35. 004D0448   55                     push    ebp
  36. 004D0449   8BEC                   mov     ebp, esp
  37. 004D044B   53                     push    ebx
  38. 004D044C   8BD8                   mov     ebx, eax
  39. 004D044E   8B83C4020000           mov     eax, [ebx+$02C4]
  40. 004D0454   8B4024                 mov     eax, [eax+$24]
  41. 004D0457   E880C0F6FF             call    0043C4DC
  42. 004D045C   50                     push    eax
  43. * Reference to: SHBrowseForFolderA.SetCapture
  44. |
  45. 004D045D   E81674F3FF             call    00407878
  46. 004D0462   C783E0020000FFFFFFFF   mov     dword ptr [ebx+$02E0], $FFFFFFFF
  47. 004D046C   8B450C                 mov     eax, [ebp+$0C]
  48. 004D046F   8983D8020000           mov     [ebx+$02D8], eax
  49. 004D0475   8B4508                 mov     eax, [ebp+$08]
  50. 004D0478   8983DC020000           mov     [ebx+$02DC], eax
  51. 004D047E   5B                     pop     ebx
  52. 004D047F   5D                     pop     ebp
  53. 004D0480   C20C                   ret     $0C
  54. }
  55.  end ; 
  56. procedure TGetNewPath.CaptionLabelMouseMove(Sender: TObject; Shift: TShiftState; X: Integer; Y: Integer);
  57. begin
  58. {
  59. 004D0484   55                     push    ebp
  60. 004D0485   8BEC                   mov     ebp, esp
  61. 004D0487   53                     push    ebx
  62. 004D0488   56                     push    esi
  63. 004D0489   8BD8                   mov     ebx, eax
  64. 004D048B   83BBE002000000         cmp     dword ptr [ebx+$02E0], +$00
  65. 004D0492   7433                   jz      004D04C7
  66. 004D0494   8B83C4020000           mov     eax, [ebx+$02C4]
  67. 004D049A   8B7024                 mov     esi, [eax+$24]
  68. 004D049D   8B83D8020000           mov     eax, [ebx+$02D8]
  69. 004D04A3   2B450C                 sub     eax, dword ptr [ebp+$0C]
  70. 004D04A6   8B5630                 mov     edx, [esi+$30]
  71. 004D04A9   2BD0                   sub     edx, eax
  72. 004D04AB   8BC6                   mov     eax, esi
  73. 004D04AD   E8FA59F6FF             call    00435EAC
  74. 004D04B2   8B83DC020000           mov     eax, [ebx+$02DC]
  75. 004D04B8   2B4508                 sub     eax, dword ptr [ebp+$08]
  76. 004D04BB   8B5634                 mov     edx, [esi+$34]
  77. 004D04BE   2BD0                   sub     edx, eax
  78. 004D04C0   8BC6                   mov     eax, esi
  79. 004D04C2   E8095AF6FF             call    00435ED0
  80. 004D04C7   5E                     pop     esi
  81. 004D04C8   5B                     pop     ebx
  82. 004D04C9   5D                     pop     ebp
  83. 004D04CA   C208                   ret     $08
  84. }
  85.  end ; 
  86. procedure TGetNewPath.CaptionLabelMouseUp(Sender: TObject; Button: TMouseButton; Shift: TShiftState; X: Integer; Y: Integer);
  87. begin
  88. {
  89. 004D04D0   55                     push    ebp
  90. 004D04D1   8BEC                   mov     ebp, esp
  91. 004D04D3   53                     push    ebx
  92. 004D04D4   56                     push    esi
  93. 004D04D5   8BD8                   mov     ebx, eax
  94. 004D04D7   83BBE002000000         cmp     dword ptr [ebx+$02E0], +$00
  95. 004D04DE   7440                   jz      004D0520
  96. 004D04E0   8B83C4020000           mov     eax, [ebx+$02C4]
  97. 004D04E6   8B7024                 mov     esi, [eax+$24]
  98. * Reference to: SHBrowseForFolderA.ReleaseCapture
  99. |
  100. 004D04E9   E83A73F3FF             call    00407828
  101. 004D04EE   33C0                   xor     eax, eax
  102. 004D04F0   8983E0020000           mov     [ebx+$02E0], eax
  103. 004D04F6   8B83D8020000           mov     eax, [ebx+$02D8]
  104. 004D04FC   2B450C                 sub     eax, dword ptr [ebp+$0C]
  105. 004D04FF   8B5630                 mov     edx, [esi+$30]
  106. 004D0502   2BD0                   sub     edx, eax
  107. 004D0504   8BC6                   mov     eax, esi
  108. 004D0506   E8A159F6FF             call    00435EAC
  109. 004D050B   8B83DC020000           mov     eax, [ebx+$02DC]
  110. 004D0511   2B4508                 sub     eax, dword ptr [ebp+$08]
  111. 004D0514   8B5634                 mov     edx, [esi+$34]
  112. 004D0517   2BD0                   sub     edx, eax
  113. 004D0519   8BC6                   mov     eax, esi
  114. 004D051B   E8B059F6FF             call    00435ED0
  115. 004D0520   5E                     pop     esi
  116. 004D0521   5B                     pop     ebx
  117. 004D0522   5D                     pop     ebp
  118. 004D0523   C20C                   ret     $0C
  119. }
  120.  end ; 
  121. procedure TGetNewPath.CloseButtonClick(Sender: TObject);
  122. begin
  123. {
  124. 004D0440   E837F6F7FF             call    0044FA7C
  125. 004D0445   C3                     ret
  126. }
  127.  end ; 
  128. procedure TGetNewPath.FormCreate(Sender: TObject);
  129. begin
  130. {
  131. 004D01F8   55                     push    ebp
  132. 004D01F9   8BEC                   mov     ebp, esp
  133. 004D01FB   6A00                   push    $00
  134. 004D01FD   6A00                   push    $00
  135. 004D01FF   53                     push    ebx
  136. 004D0200   56                     push    esi
  137. 004D0201   8BD8                   mov     ebx, eax
  138. 004D0203   8B35DC495400           mov     esi, [$5449DC]
  139. 004D0209   33C0                   xor     eax, eax
  140. 004D020B   55                     push    ebp
  141. * Possible String Reference to: "閅2