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

远程控制编程

开发平台:

Delphi

  1. unit showmessageunit;
  2. interface
  3. uses
  4.   Windows, Messages, SysUtils, Classes, Graphics,
  5.   Controls, Forms, Dialogs, StdCtrls;
  6. type
  7.   TGetTextForm=class(TForm)
  8.     CaptionLabel: TLabel;
  9.     CloseButton: TFlatSpeedButton;
  10.     TitleLabel: TLabel;
  11.     OutlookBtn1: TOutlookBtn;
  12.     OutlookBtn2: TOutlookBtn;
  13.     EditBox: TFlatEdit;
  14.     procedure CaptionLabelMouseDown(Sender: TObject; Button: TMouseButton; Shift: TShiftState; X: Integer; Y: Integer);
  15.     procedure CaptionLabelMouseMove(Sender: TObject; Shift: TShiftState; X: Integer; Y: Integer);
  16.     procedure CaptionLabelMouseUp(Sender: TObject; Button: TMouseButton; Shift: TShiftState; X: Integer; Y: Integer);
  17.     procedure CloseButtonClick(Sender: TObject);
  18.     procedure EditBoxKeyPress(Sender: TObject; var Key: Char);
  19.     procedure EditBoxKeyUp(Sender: TObject; var Key: Word; Shift: TShiftState);
  20.     procedure FormCreate(Sender: TObject);
  21.     procedure FormPaint(Sender: TObject);
  22.     procedure FormResize(Sender: TObject);
  23.     procedure OutlookBtn1Click(Sender: TObject);
  24.     procedure OutlookBtn2Click(Sender: TObject);
  25.   private
  26.     { Private declarations }
  27.   public
  28.     { Public declarations }
  29.   end ;
  30. var
  31.   GetTextForm: TGetTextForm;
  32. {This file is generated by DeDe v2.34 (c) 1999 by DaFixer}
  33. implementation
  34. {$R *.DFM}
  35. procedure TGetTextForm.CaptionLabelMouseDown(Sender: TObject; Button: TMouseButton; Shift: TShiftState; X: Integer; Y: Integer);
  36. begin
  37. {
  38. 004CC038   55                     push    ebp
  39. 004CC039   8BEC                   mov     ebp, esp
  40. 004CC03B   53                     push    ebx
  41. 004CC03C   8BD8                   mov     ebx, eax
  42. 004CC03E   8B83C4020000           mov     eax, [ebx+$02C4]
  43. 004CC044   8B4024                 mov     eax, [eax+$24]
  44. 004CC047   E89004F7FF             call    0043C4DC
  45. 004CC04C   50                     push    eax
  46. * Reference to: SHBrowseForFolderA.SetCapture
  47. |
  48. 004CC04D   E826B8F3FF             call    00407878
  49. 004CC052   C783E4020000FFFFFFFF   mov     dword ptr [ebx+$02E4], $FFFFFFFF
  50. 004CC05C   8B450C                 mov     eax, [ebp+$0C]
  51. 004CC05F   8983DC020000           mov     [ebx+$02DC], eax
  52. 004CC065   8B4508                 mov     eax, [ebp+$08]
  53. 004CC068   8983E0020000           mov     [ebx+$02E0], eax
  54. 004CC06E   5B                     pop     ebx
  55. 004CC06F   5D                     pop     ebp
  56. 004CC070   C20C                   ret     $0C
  57. }
  58.  end ; 
  59. procedure TGetTextForm.CaptionLabelMouseMove(Sender: TObject; Shift: TShiftState; X: Integer; Y: Integer);
  60. begin
  61. {
  62. 004CC074   55                     push    ebp
  63. 004CC075   8BEC                   mov     ebp, esp
  64. 004CC077   53                     push    ebx
  65. 004CC078   56                     push    esi
  66. 004CC079   8BD8                   mov     ebx, eax
  67. 004CC07B   83BBE402000000         cmp     dword ptr [ebx+$02E4], +$00
  68. 004CC082   7433                   jz      004CC0B7
  69. 004CC084   8B83C4020000           mov     eax, [ebx+$02C4]
  70. 004CC08A   8B7024                 mov     esi, [eax+$24]
  71. 004CC08D   8B83DC020000           mov     eax, [ebx+$02DC]
  72. 004CC093   2B450C                 sub     eax, dword ptr [ebp+$0C]
  73. 004CC096   8B5630                 mov     edx, [esi+$30]
  74. 004CC099   2BD0                   sub     edx, eax
  75. 004CC09B   8BC6                   mov     eax, esi
  76. 004CC09D   E80A9EF6FF             call    00435EAC
  77. 004CC0A2   8B83E0020000           mov     eax, [ebx+$02E0]
  78. 004CC0A8   2B4508                 sub     eax, dword ptr [ebp+$08]
  79. 004CC0AB   8B5634                 mov     edx, [esi+$34]
  80. 004CC0AE   2BD0                   sub     edx, eax
  81. 004CC0B0   8BC6                   mov     eax, esi
  82. 004CC0B2   E8199EF6FF             call    00435ED0
  83. 004CC0B7   5E                     pop     esi
  84. 004CC0B8   5B                     pop     ebx
  85. 004CC0B9   5D                     pop     ebp
  86. 004CC0BA   C208                   ret     $08
  87. }
  88.  end ; 
  89. procedure TGetTextForm.CaptionLabelMouseUp(Sender: TObject; Button: TMouseButton; Shift: TShiftState; X: Integer; Y: Integer);
  90. begin
  91. {
  92. 004CC0C0   55                     push    ebp
  93. 004CC0C1   8BEC                   mov     ebp, esp
  94. 004CC0C3   53                     push    ebx
  95. 004CC0C4   56                     push    esi
  96. 004CC0C5   8BD8                   mov     ebx, eax
  97. 004CC0C7   83BBE402000000         cmp     dword ptr [ebx+$02E4], +$00
  98. 004CC0CE   7440                   jz      004CC110
  99. 004CC0D0   8B83C4020000           mov     eax, [ebx+$02C4]
  100. 004CC0D6   8B7024                 mov     esi, [eax+$24]
  101. * Reference to: SHBrowseForFolderA.ReleaseCapture
  102. |
  103. 004CC0D9   E84AB7F3FF             call    00407828
  104. 004CC0DE   33C0                   xor     eax, eax
  105. 004CC0E0   8983E4020000           mov     [ebx+$02E4], eax
  106. 004CC0E6   8B83DC020000           mov     eax, [ebx+$02DC]
  107. 004CC0EC   2B450C                 sub     eax, dword ptr [ebp+$0C]
  108. 004CC0EF   8B5630                 mov     edx, [esi+$30]
  109. 004CC0F2   2BD0                   sub     edx, eax
  110. 004CC0F4   8BC6                   mov     eax, esi
  111. 004CC0F6   E8B19DF6FF             call    00435EAC
  112. 004CC0FB   8B83E0020000           mov     eax, [ebx+$02E0]
  113. 004CC101   2B4508                 sub     eax, dword ptr [ebp+$08]
  114. 004CC104   8B5634                 mov     edx, [esi+$34]
  115. 004CC107   2BD0                   sub     edx, eax
  116. 004CC109   8BC6                   mov     eax, esi
  117. 004CC10B   E8C09DF6FF             call    00435ED0
  118. 004CC110   5E                     pop     esi
  119. 004CC111   5B                     pop     ebx
  120. 004CC112   5D                     pop     ebp
  121. 004CC113   C20C                   ret     $0C
  122. }
  123.  end ; 
  124. procedure TGetTextForm.CloseButtonClick(Sender: TObject);
  125. begin
  126. {
  127. 004CC028   C6053073540000         mov     byte ptr [$547330], $00
  128. 004CC02F   E89838F8FF             call    0044F8CC
  129. 004CC034   C3                     ret
  130. }
  131.  end ; 
  132. procedure TGetTextForm.EditBoxKeyPress(Sender: TObject; var Key: Char);
  133. begin
  134. {
  135. 004CC170   80390D                 cmp     byte ptr [ecx], $0D
  136. 004CC173   7503                   jnz     004CC178
  137. 004CC175   C60100                 mov     byte ptr [ecx], $00
  138. 004CC178   C3                     ret
  139. }
  140.  end ; 
  141. procedure TGetTextForm.EditBoxKeyUp(Sender: TObject; var Key: Word; Shift: TShiftState);
  142. begin
  143. {
  144. 004CC138   55                     push    ebp
  145. 004CC139   8BEC                   mov     ebp, esp
  146. 004CC13B   53                     push    ebx
  147. 004CC13C   56                     push    esi
  148. 004CC13D   8BF1                   mov     esi, ecx
  149. 004CC13F   8BD8                   mov     ebx, eax
  150. 004CC141   66833E0D               cmp     word ptr [esi], +$0D
  151. 004CC145   750E                   jnz     004CC155
  152. 004CC147   C6053073540001         mov     byte ptr [$547330], $01
  153. 004CC14E   8BC3                   mov     eax, ebx
  154. 004CC150   E87737F8FF             call    0044F8CC
  155. 004CC155   66833E1B               cmp     word ptr [esi], +$1B
  156. 004CC159   750E                   jnz     004CC169
  157. 004CC15B   C6053073540000         mov     byte ptr [$547330], $00
  158. 004CC162   8BC3                   mov     eax, ebx
  159. 004CC164   E86337F8FF             call    0044F8CC
  160. 004CC169   5E                     pop     esi
  161. 004CC16A   5B                     pop     ebx
  162. 004CC16B   5D                     pop     ebp
  163. 004CC16C   C204                   ret     $04
  164. }
  165.  end ; 
  166. procedure TGetTextForm.FormCreate(Sender: TObject);
  167. begin
  168. {
  169. 004CBFC8   55                     push    ebp
  170. 004CBFC9   8BEC                   mov     ebp, esp
  171. 004CBFCB   6A00                   push    $00
  172. 004CBFCD   53                     push    ebx
  173. 004CBFCE   8BD8                   mov     ebx, eax
  174. 004CBFD0   33C0                   xor     eax, eax
  175. 004CBFD2   55                     push    ebp
  176. * Possible String Reference to: "锳v