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

远程控制编程

开发平台:

Delphi

  1. unit winmUnit;
  2. interface
  3. uses
  4.   Windows, Messages, SysUtils, Classes, Graphics,
  5.   Controls, Forms, Dialogs, StdCtrls;
  6. type
  7.   TwinM=class(TForm)
  8.     CaptionLabel: TLabel;
  9.     CloseButton: TFlatSpeedButton;
  10.     OutlookBtn1: TOutlookBtn;
  11.     OutlookBtn2: TOutlookBtn;
  12.     OutlookBtn3: TOutlookBtn;
  13.     OutlookBtn4: TOutlookBtn;
  14.     OutlookBtn5: TOutlookBtn;
  15.     OutlookBtn6: TOutlookBtn;
  16.     OutlookBtn7: TOutlookBtn;
  17.     OutlookBtn8: TOutlookBtn;
  18.     apps: TListBox;
  19.     ShowAll: TFlatCheckBox;
  20.     procedure CaptionLabelMouseDown(Sender: TObject; Button: TMouseButton; Shift: TShiftState; X: Integer; Y: Integer);
  21.     procedure CaptionLabelMouseMove(Sender: TObject; Shift: TShiftState; X: Integer; Y: Integer);
  22.     procedure CaptionLabelMouseUp(Sender: TObject; Button: TMouseButton; Shift: TShiftState; X: Integer; Y: Integer);
  23.     procedure CloseButtonClick(Sender: TObject);
  24.     procedure FormCreate(Sender: TObject);
  25.     procedure FormPaint(Sender: TObject);
  26.     procedure FormResize(Sender: TObject);
  27.     procedure OutlookBtn1Click(Sender: TObject);
  28.     procedure OutlookBtn2Click(Sender: TObject);
  29.     procedure OutlookBtn3Click(Sender: TObject);
  30.     procedure OutlookBtn4Click(Sender: TObject);
  31.     procedure OutlookBtn5Click(Sender: TObject);
  32.     procedure OutlookBtn6Click(Sender: TObject);
  33.     procedure OutlookBtn7Click(Sender: TObject);
  34.     procedure OutlookBtn8Click(Sender: TObject);
  35.   private
  36.     { Private declarations }
  37.   public
  38.     { Public declarations }
  39.   end ;
  40. var
  41.   winM: TwinM;
  42. {This file is generated by DeDe v2.34 (c) 1999 by DaFixer}
  43. implementation
  44. {$R *.DFM}
  45. procedure TwinM.CaptionLabelMouseDown(Sender: TObject; Button: TMouseButton; Shift: TShiftState; X: Integer; Y: Integer);
  46. begin
  47. {
  48. 004DF91C   55                     push    ebp
  49. 004DF91D   8BEC                   mov     ebp, esp
  50. 004DF91F   53                     push    ebx
  51. 004DF920   8BD8                   mov     ebx, eax
  52. 004DF922   8B83C4020000           mov     eax, [ebx+$02C4]
  53. 004DF928   8B4024                 mov     eax, [eax+$24]
  54. 004DF92B   E8ACCBF5FF             call    0043C4DC
  55. 004DF930   50                     push    eax
  56. * Reference to: SHBrowseForFolderA.SetCapture
  57. |
  58. 004DF931   E8427FF2FF             call    00407878
  59. 004DF936   C783FC020000FFFFFFFF   mov     dword ptr [ebx+$02FC], $FFFFFFFF
  60. 004DF940   8B450C                 mov     eax, [ebp+$0C]
  61. 004DF943   8983F4020000           mov     [ebx+$02F4], eax
  62. 004DF949   8B4508                 mov     eax, [ebp+$08]
  63. 004DF94C   8983F8020000           mov     [ebx+$02F8], eax
  64. 004DF952   5B                     pop     ebx
  65. 004DF953   5D                     pop     ebp
  66. 004DF954   C20C                   ret     $0C
  67. }
  68.  end ; 
  69. procedure TwinM.CaptionLabelMouseMove(Sender: TObject; Shift: TShiftState; X: Integer; Y: Integer);
  70. begin
  71. {
  72. 004DF958   55                     push    ebp
  73. 004DF959   8BEC                   mov     ebp, esp
  74. 004DF95B   53                     push    ebx
  75. 004DF95C   56                     push    esi
  76. 004DF95D   8BD8                   mov     ebx, eax
  77. 004DF95F   83BBFC02000000         cmp     dword ptr [ebx+$02FC], +$00
  78. 004DF966   7433                   jz      004DF99B
  79. 004DF968   8B83C4020000           mov     eax, [ebx+$02C4]
  80. 004DF96E   8B7024                 mov     esi, [eax+$24]
  81. 004DF971   8B83F4020000           mov     eax, [ebx+$02F4]
  82. 004DF977   2B450C                 sub     eax, dword ptr [ebp+$0C]
  83. 004DF97A   8B5630                 mov     edx, [esi+$30]
  84. 004DF97D   2BD0                   sub     edx, eax
  85. 004DF97F   8BC6                   mov     eax, esi
  86. 004DF981   E82665F5FF             call    00435EAC
  87. 004DF986   8B83F8020000           mov     eax, [ebx+$02F8]
  88. 004DF98C   2B4508                 sub     eax, dword ptr [ebp+$08]
  89. 004DF98F   8B5634                 mov     edx, [esi+$34]
  90. 004DF992   2BD0                   sub     edx, eax
  91. 004DF994   8BC6                   mov     eax, esi
  92. 004DF996   E83565F5FF             call    00435ED0
  93. 004DF99B   5E                     pop     esi
  94. 004DF99C   5B                     pop     ebx
  95. 004DF99D   5D                     pop     ebp
  96. 004DF99E   C208                   ret     $08
  97. }
  98.  end ; 
  99. procedure TwinM.CaptionLabelMouseUp(Sender: TObject; Button: TMouseButton; Shift: TShiftState; X: Integer; Y: Integer);
  100. begin
  101. {
  102. 004DF9A4   55                     push    ebp
  103. 004DF9A5   8BEC                   mov     ebp, esp
  104. 004DF9A7   53                     push    ebx
  105. 004DF9A8   56                     push    esi
  106. 004DF9A9   8BD8                   mov     ebx, eax
  107. 004DF9AB   83BBFC02000000         cmp     dword ptr [ebx+$02FC], +$00
  108. 004DF9B2   7440                   jz      004DF9F4
  109. 004DF9B4   8B83C4020000           mov     eax, [ebx+$02C4]
  110. 004DF9BA   8B7024                 mov     esi, [eax+$24]
  111. * Reference to: SHBrowseForFolderA.ReleaseCapture
  112. |
  113. 004DF9BD   E8667EF2FF             call    00407828
  114. 004DF9C2   33C0                   xor     eax, eax
  115. 004DF9C4   8983FC020000           mov     [ebx+$02FC], eax
  116. 004DF9CA   8B83F4020000           mov     eax, [ebx+$02F4]
  117. 004DF9D0   2B450C                 sub     eax, dword ptr [ebp+$0C]
  118. 004DF9D3   8B5630                 mov     edx, [esi+$30]
  119. 004DF9D6   2BD0                   sub     edx, eax
  120. 004DF9D8   8BC6                   mov     eax, esi
  121. 004DF9DA   E8CD64F5FF             call    00435EAC
  122. 004DF9DF   8B83F8020000           mov     eax, [ebx+$02F8]
  123. 004DF9E5   2B4508                 sub     eax, dword ptr [ebp+$08]
  124. 004DF9E8   8B5634                 mov     edx, [esi+$34]
  125. 004DF9EB   2BD0                   sub     edx, eax
  126. 004DF9ED   8BC6                   mov     eax, esi
  127. 004DF9EF   E8DC64F5FF             call    00435ED0
  128. 004DF9F4   5E                     pop     esi
  129. 004DF9F5   5B                     pop     ebx
  130. 004DF9F6   5D                     pop     ebp
  131. 004DF9F7   C20C                   ret     $0C
  132. }
  133.  end ; 
  134. procedure TwinM.CloseButtonClick(Sender: TObject);
  135. begin
  136. {
  137. 004DF914   E86301F7FF             call    0044FA7C
  138. 004DF919   C3                     ret
  139. }
  140.  end ; 
  141. procedure TwinM.FormCreate(Sender: TObject);
  142. begin
  143. {
  144. 004DF6CC   55                     push    ebp
  145. 004DF6CD   8BEC                   mov     ebp, esp
  146. 004DF6CF   6A00                   push    $00
  147. 004DF6D1   6A00                   push    $00
  148. 004DF6D3   53                     push    ebx
  149. 004DF6D4   56                     push    esi
  150. 004DF6D5   8BD8                   mov     ebx, eax
  151. 004DF6D7   8B35DC495400           mov     esi, [$5449DC]
  152. 004DF6DD   33C0                   xor     eax, eax
  153. 004DF6DF   55                     push    ebp
  154. * Possible String Reference to: "閰=