能力值:
( LV2,RANK:10 )
|
-
-
2 楼
是。
这里用来计算dwMsgTable数组里元素的个数
|
能力值:
( LV2,RANK:10 )
|
-
-
3 楼
再请教一个问题:
_SendtoNotepad proc _lpsz
local @hWinNotepad
pushad
invoke FindWindow,addr szDestClass,NULL
.if eax
mov ecx,eax
invoke ChildWindowFromPoint,ecx,20,20
.endif
.if eax
mov @hWinNotepad,eax
mov esi,_lpsz
@@:
lodsb
or al,al
jz @F
movzx eax,al
invoke PostMessage,@hWinNotepad,WM_CHAR,eax,1
jmp @B
@@:
.endif
popad
ret
_SendtoNotepad endp
=========================================
invoke ChildWindowFromPoint,ecx,20,20
这里20,20用来干嘛的?
|
能力值:
(RANK:260 )
|
-
-
4 楼
就是两个参数的值。用C来描述就是
ChildWindowFromPoint(hWnd/*in register ecx*/,0x20,0x20);
|
能力值:
( LV2,RANK:10 )
|
-
-
5 楼
HWND ChildWindowFromPoint(
HWND hWndParent, // handle to parent window
POINT Point // structure with point coordinates
);
Parameters
hWndParent
Identifies the parent window.
Point
Specifies a POINT structure that defines the client coordinates of the point to be checked.
The POINT structure defines the x- and y- coordinates of a point.
typedef struct tagPOINT { // pt
LONG x;
LONG y;
} POINT;
Members
x
Specifies the x-coordinate of the point.
y
Specifies the y-coordinate of the point.
|
|
|