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

远程控制编程

开发平台:

Delphi

  1. unit RegEditUnit;
  2. interface
  3. uses
  4.   Windows, Messages, SysUtils, Classes, Graphics,
  5.   Controls, Forms, Dialogs, StdCtrls, ExtCtrls;
  6. type
  7.   TRegEdit=class(TForm)
  8.     CaptionLabel: TLabel;
  9.     CloseButton: TFlatSpeedButton;
  10.     Label1: TLabel;
  11.     Label4: TLabel;
  12.     OutlookBtn1: TOutlookBtn;
  13.     OutlookBtn2: TOutlookBtn;
  14.     OutlookBtn3: TOutlookBtn;
  15.     OutlookBtn4: TOutlookBtn;
  16.     OutlookBtn5: TOutlookBtn;
  17.     OutlookBtn6: TOutlookBtn;
  18.     Panel1: TPanel;
  19.     Label5: TLabel;
  20.     Panel2: TPanel;
  21.     Label2: TLabel;
  22.     DirList: TListBox;
  23.     tmpList: TListBox;
  24.     RxSplitter1: TRxSplitter;
  25.     Panel3: TPanel;
  26.     Label3: TLabel;
  27.     KeyList: TListBox;
  28.     FlatEdit1: TFlatEdit;
  29.     FlatBox2: TFlatComboBox;
  30.     FlatHint: TFlatHint;
  31.     procedure CaptionLabelMouseDown(Sender: TObject; Button: TMouseButton; Shift: TShiftState; X: Integer; Y: Integer);
  32.     procedure CaptionLabelMouseMove(Sender: TObject; Shift: TShiftState; X: Integer; Y: Integer);
  33.     procedure CaptionLabelMouseUp(Sender: TObject; Button: TMouseButton; Shift: TShiftState; X: Integer; Y: Integer);
  34.     procedure CloseButtonClick(Sender: TObject);
  35.     procedure DirListClick(Sender: TObject);
  36.     procedure FlatBox2Change(Sender: TObject);{?}
  37.     procedure FormCreate(Sender: TObject);
  38.     procedure FormPaint(Sender: TObject);
  39.     procedure FormResize(Sender: TObject);
  40.     procedure KeyListClick(Sender: TObject);
  41.     procedure OutlookBtn1Click(Sender: TObject);
  42.     procedure OutlookBtn2Click(Sender: TObject);
  43.     procedure OutlookBtn3Click(Sender: TObject);
  44.     procedure OutlookBtn4Click(Sender: TObject);
  45.     procedure OutlookBtn5Click(Sender: TObject);
  46.     procedure OutlookBtn6Click(Sender: TObject);
  47.   private
  48.     { Private declarations }
  49.   public
  50.     { Public declarations }
  51.   end ;
  52. var
  53.   RegEdit: TRegEdit;
  54. {This file is generated by DeDe v2.34 (c) 1999 by DaFixer}
  55. implementation
  56. {$R *.DFM}
  57. procedure TRegEdit.CaptionLabelMouseDown(Sender: TObject; Button: TMouseButton; Shift: TShiftState; X: Integer; Y: Integer);
  58. begin
  59. {
  60. 004D85E8   55                     push    ebp
  61. 004D85E9   8BEC                   mov     ebp, esp
  62. 004D85EB   53                     push    ebx
  63. 004D85EC   8BD8                   mov     ebx, eax
  64. 004D85EE   8B83C4020000           mov     eax, [ebx+$02C4]
  65. 004D85F4   8B4024                 mov     eax, [eax+$24]
  66. 004D85F7   E8E03EF6FF             call    0043C4DC
  67. 004D85FC   50                     push    eax
  68. * Reference to: SHBrowseForFolderA.SetCapture
  69. |
  70. 004D85FD   E876F2F2FF             call    00407878
  71. 004D8602   C78328030000FFFFFFFF   mov     dword ptr [ebx+$0328], $FFFFFFFF
  72. 004D860C   8B450C                 mov     eax, [ebp+$0C]
  73. 004D860F   898320030000           mov     [ebx+$0320], eax
  74. 004D8615   8B4508                 mov     eax, [ebp+$08]
  75. 004D8618   898324030000           mov     [ebx+$0324], eax
  76. 004D861E   5B                     pop     ebx
  77. 004D861F   5D                     pop     ebp
  78. 004D8620   C20C                   ret     $0C
  79. }
  80.  end ; 
  81. procedure TRegEdit.CaptionLabelMouseMove(Sender: TObject; Shift: TShiftState; X: Integer; Y: Integer);
  82. begin
  83. {
  84. 004D8624   55                     push    ebp
  85. 004D8625   8BEC                   mov     ebp, esp
  86. 004D8627   53                     push    ebx
  87. 004D8628   56                     push    esi
  88. 004D8629   8BD8                   mov     ebx, eax
  89. 004D862B   83BB2803000000         cmp     dword ptr [ebx+$0328], +$00
  90. 004D8632   7433                   jz      004D8667
  91. 004D8634   8B83C4020000           mov     eax, [ebx+$02C4]
  92. 004D863A   8B7024                 mov     esi, [eax+$24]
  93. 004D863D   8B8320030000           mov     eax, [ebx+$0320]
  94. 004D8643   2B450C                 sub     eax, dword ptr [ebp+$0C]
  95. 004D8646   8B5630                 mov     edx, [esi+$30]
  96. 004D8649   2BD0                   sub     edx, eax
  97. 004D864B   8BC6                   mov     eax, esi
  98. 004D864D   E85AD8F5FF             call    00435EAC
  99. 004D8652   8B8324030000           mov     eax, [ebx+$0324]
  100. 004D8658   2B4508                 sub     eax, dword ptr [ebp+$08]
  101. 004D865B   8B5634                 mov     edx, [esi+$34]
  102. 004D865E   2BD0                   sub     edx, eax
  103. 004D8660   8BC6                   mov     eax, esi
  104. 004D8662   E869D8F5FF             call    00435ED0
  105. 004D8667   5E                     pop     esi
  106. 004D8668   5B                     pop     ebx
  107. 004D8669   5D                     pop     ebp
  108. 004D866A   C208                   ret     $08
  109. }
  110.  end ; 
  111. procedure TRegEdit.CaptionLabelMouseUp(Sender: TObject; Button: TMouseButton; Shift: TShiftState; X: Integer; Y: Integer);
  112. begin
  113. {
  114. 004D8670   55                     push    ebp
  115. 004D8671   8BEC                   mov     ebp, esp
  116. 004D8673   53                     push    ebx
  117. 004D8674   56                     push    esi
  118. 004D8675   8BD8                   mov     ebx, eax
  119. 004D8677   83BB2803000000         cmp     dword ptr [ebx+$0328], +$00
  120. 004D867E   7440                   jz      004D86C0
  121. 004D8680   8B83C4020000           mov     eax, [ebx+$02C4]
  122. 004D8686   8B7024                 mov     esi, [eax+$24]
  123. * Reference to: SHBrowseForFolderA.ReleaseCapture
  124. |
  125. 004D8689   E89AF1F2FF             call    00407828
  126. 004D868E   33C0                   xor     eax, eax
  127. 004D8690   898328030000           mov     [ebx+$0328], eax
  128. 004D8696   8B8320030000           mov     eax, [ebx+$0320]
  129. 004D869C   2B450C                 sub     eax, dword ptr [ebp+$0C]
  130. 004D869F   8B5630                 mov     edx, [esi+$30]
  131. 004D86A2   2BD0                   sub     edx, eax
  132. 004D86A4   8BC6                   mov     eax, esi
  133. 004D86A6   E801D8F5FF             call    00435EAC
  134. 004D86AB   8B8324030000           mov     eax, [ebx+$0324]
  135. 004D86B1   2B4508                 sub     eax, dword ptr [ebp+$08]
  136. 004D86B4   8B5634                 mov     edx, [esi+$34]
  137. 004D86B7   2BD0                   sub     edx, eax
  138. 004D86B9   8BC6                   mov     eax, esi
  139. 004D86BB   E810D8F5FF             call    00435ED0
  140. 004D86C0   5E                     pop     esi
  141. 004D86C1   5B                     pop     ebx
  142. 004D86C2   5D                     pop     ebp
  143. 004D86C3   C20C                   ret     $0C
  144. }
  145.  end ; 
  146. procedure TRegEdit.CloseButtonClick(Sender: TObject);
  147. begin
  148. {
  149. 004D85B0   53                     push    ebx
  150. 004D85B1   8BD8                   mov     ebx, eax
  151. 004D85B3   A1DC495400             mov     eax, dword ptr [$5449DC]
  152. 004D85B8   8B00                   mov     eax, [eax]
  153. 004D85BA   8B808C030000           mov     eax, [eax+$038C]
  154. 004D85C0   8B8080000000           mov     eax, [eax+$0080]
  155. * Possible String Reference to: "CLG"
  156. |
  157. 004D85C6   BAE4854D00             mov     edx, $004D85E4
  158. 004D85CB   E85450FAFF             call    0047D624
  159. 004D85D0   8BC3                   mov     eax, ebx
  160. 004D85D2   E8A574F7FF             call    0044FA7C
  161. 004D85D7   5B                     pop     ebx
  162. 004D85D8   C3                     ret
  163. }
  164.  end ; 
  165. procedure TRegEdit.DirListClick(Sender: TObject);
  166. begin
  167. {
  168. 004D887C   55                     push    ebp
  169. 004D887D   8BEC                   mov     ebp, esp
  170. 004D887F   33C9                   xor     ecx, ecx
  171. 004D8881   51                     push    ecx
  172. 004D8882   51                     push    ecx
  173. 004D8883   51                     push    ecx
  174. 004D8884   51                     push    ecx
  175. 004D8885   51                     push    ecx
  176. 004D8886   53                     push    ebx
  177. 004D8887   56                     push    esi
  178. 004D8888   57                     push    edi
  179. 004D8889   8BD8                   mov     ebx, eax
  180. 004D888B   33C0                   xor     eax, eax
  181. 004D888D   55                     push    ebp
  182. * Possible String Reference to: "槌