тупые корейцы %)) не могу отправтиь окну клик мыши . что делать?
это реальные движения и клики мыши (по SPY++)
Код:
<00001> 00040420 S WM_NCHITTEST xPos:113 yPos:332
<00002> 00040420 R WM_NCHITTEST nHittest:HTCLIENT
<00003> 00040420 S WM_SETCURSOR hwnd:00040420 nHittest:HTCLIENT wMouseMsg:WM_MOUSEMOVE
<00004> 00040420 R WM_SETCURSOR fHaltProcessing:False
<00005> 00040420 P WM_MOUSEMOVE fwKeys:0000 xPos:87 yPos:287
<00006> 00040420 S WM_NCHITTEST xPos:111 yPos:332
<00007> 00040420 R WM_NCHITTEST nHittest:HTCLIENT
<00008> 00040420 S WM_SETCURSOR hwnd:00040420 nHittest:HTCLIENT wMouseMsg:WM_MOUSEMOVE
<00009> 00040420 R WM_SETCURSOR fHaltProcessing:False
<00010> 00040420 P WM_MOUSEMOVE fwKeys:0000 xPos:85 yPos:287
<00011> 00040420 S WM_NCHITTEST xPos:111 yPos:332
<00012> 00040420 R WM_NCHITTEST nHittest:HTCLIENT
<00013> 00040420 S WM_MOUSEACTIVATE hwndTopLevel:00040420 nHittest:HTCLIENT uMsg:WM_LBUTTONDOWN
<00014> 00040420 R WM_MOUSEACTIVATE fuActivate:MA_ACTIVATE
<00015> 00040420 S WM_WINDOWPOSCHANGING lpwp:0012F0D8
<00016> 00040420 R WM_WINDOWPOSCHANGING
<00017> 00040420 S WM_NCPAINT hrgn:00000001
<00018> 00040420 S .WM_GETTEXT cchTextMax:510 lpszText:0012C9A8
<00019> 00040420 R .WM_GETTEXT cchCopied:10 lpszText:0012D63C ("L")
<00020> 00040420 R WM_NCPAINT
<00021> 00040420 S WM_ERASEBKGND hdc:41011157
<00022> 00040420 R WM_ERASEBKGND fErased:False
<00023> 00040420 S WM_WINDOWPOSCHANGED lpwp:0012F0D8
<00024> 00040420 R WM_WINDOWPOSCHANGED
<00025> 00040420 S WM_ACTIVATEAPP fActive:True dwThreadID:00000000
<00026> 00040420 R WM_ACTIVATEAPP
<00027> 00040420 S WM_NCACTIVATE fActive:True
<00028> 00040420 R WM_NCACTIVATE
<00029> 00040420 S WM_ACTIVATE fActive:WA_CLICKACTIVE fMinimized:False hwndPrevious:(null)
<00030> 00040420 S .WM_SETFOCUS hwndLoseFocus:(null)
<00031> 00040420 S ..WM_SETTEXT lpsz:0012C5AC ("Lineage II")
<00032> 00040420 S ...WM_GETTEXT cchTextMax:510 lpszText:001291C4
<00033> 00040420 R ...WM_GETTEXT cchCopied:10 lpszText:0012A760 ("L")
<00034> 00040420 R ..WM_SETTEXT fSucceeded:True
<00035> 00040420 R .WM_SETFOCUS
<00036> 00040420 R WM_ACTIVATE
<00037> 00040420 S WM_SETCURSOR hwnd:00040420 nHittest:HTCLIENT wMouseMsg:WM_LBUTTONDOWN
<00038> 00040420 R WM_SETCURSOR fHaltProcessing:False
<00039> 00040420 P WM_LBUTTONDOWN fwKeys:MK_LBUTTON xPos:85 yPos:287
<00040> 00040420 S WM_NCHITTEST xPos:111 yPos:332
<00041> 00040420 R WM_NCHITTEST nHittest:HTCLIENT
<00042> 00040420 S WM_SETCURSOR hwnd:00040420 nHittest:HTCLIENT wMouseMsg:WM_MOUSEMOVE
<00043> 00040420 R WM_SETCURSOR fHaltProcessing:False
<00044> 00040420 P WM_MOUSEMOVE fwKeys:MK_LBUTTON xPos:85 yPos:287
<00045> 00040420 S WM_NCHITTEST xPos:111 yPos:332
<00046> 00040420 R WM_NCHITTEST nHittest:HTCLIENT
<00047> 00040420 S WM_SETCURSOR hwnd:00040420 nHittest:HTCLIENT wMouseMsg:WM_LBUTTONUP
<00048> 00040420 R WM_SETCURSOR fHaltProcessing:False
<00049> 00040420 P WM_LBUTTONUP fwKeys:0000 xPos:85 yPos:287
<00050> 00040420 S WM_NCHITTEST xPos:111 yPos:332
<00051> 00040420 R WM_NCHITTEST nHittest:HTCLIENT
<00052> 00040420 S WM_SETCURSOR hwnd:00040420 nHittest:HTCLIENT wMouseMsg:WM_MOUSEMOVE
<00053> 00040420 R WM_SETCURSOR fHaltProcessing:False
<00054> 00040420 P WM_MOUSEMOVE fwKeys:0000 xPos:85 yPos:287
делаю так
SendMessage l2client, WM_SETCURSOR, HTCLIENT, WM_LBUTTONDOWN
PostMessage l2client, WM_LBUTTONDOWN, MK_LBUTTON, CLng(535 + 438 * &H10000)
SendMessage l2client, WM_NCHITTEST, 0, CLng(561 + 483 * &H10000)
SendMessage l2client, WM_SETCURSOR, HTCLIENT, WM_LBUTTONUP
PostMessage l2client, WM_LBUTTONUP, MK_LBUTTON, CLng(535 + 438 * &H10000)
SendMessage l2client, WM_NCHITTEST, 0, CLng(561 + 483 * &H10000)
не пашет (((