|
|
 |
|
| found 6 articles for 1.281 sec |
  |
Author: Christian ASTOR
Date: May 17, 2008 03:52
... windowHandle = FindWindow(0, strWindowName.c_str()); if (windowHandle) { SendMessage(windowHandle, WM_SYSKEYDOWN,0x12,0x20380001); ...> But nothing happen If i hold ALT when that code run, i'll effect... force event ALT hold key down. Can someone help me. PS: I ...'s the right method. Otherwise, for ALT, AttachThreadInput()-SetFocus()-PostMessage() must be used
|
| Show full article (0.91Kb) · Show article thread |
Author: Nhoc
Date: May 11, 2008 16:11
...windowHandle = FindWindow(0, strWindowName.c_str()); if (windowHandle) { SendMessage(windowHandle, WM_SYSKEYDOWN,0x12,0x20380001); SendMessage... SendMessage(windowHandle, WM_KEYUP,0x12,0xc0380001); SendMessage(windowHandle, WM_KEYUP,0x33,0xc0040001); } But nothing happen If i hold ALT when that code run, i'll ... cant force event ALT hold key down. Can someone help me. PS: I...
|
| Show full article (0.68Kb) |
|
|
Author: Peter Below (TeamB)
Date: May 22, 2008 00:46
... input field? You could try to send a WM_NEXTDLGCTL message, but not to ...> I have checked the API help but cannot seem to work out ... be used in conjunction with the Alt key. Well, you could try a ..., 0) or $20000000); // lparam: Longint; SendMessage(hFocusWin,WM_SYSCHAR,9,lparam); But this ... Alt-Tab is not the correct key combination to switch controls inside a ...
|
| Show full article (1.39Kb) · Show article thread |
Author: Peter Below (TeamB)
Date: May 21, 2008 10:36
... be used in conjunction with the Alt key. Well, you could try a..., 0) or $20000000); // lparam: Longint; SendMessage(hFocusWin,WM_SYSCHAR,9,lparam); But this...to send Alt+M for Menu etc too if you can help .... Below ************************************************************} Procedure PostKeyEx( hWindow: HWnd; key: Word; Const shift: TShiftState; specialkey: ...
|
| Show full article (7.62Kb) · Show article thread |
Author: orangecat
Date: May 20, 2008 15:40
...to a waiting app. So far SendMessage with Data and "Enter" works fine...a Memo on the waiting app SendMessage(hFocusWin,WM_CHAR,13,0); Using the following it sends a Tab-character [no real surprise...than tabbing to the next field. SendMessage(hFocusWin,WM_CHAR,9,0); What should... used in conjunction with the Alt key. I would also like ... send Alt+M for Menu etc too if you can help ...
|
| Show full article (1.09Kb) |
Author: Anja
Date: Dec 17, 2006 07:18
... example, I am trying to send the character 'Q' to the ... Const WM_CHAR = &H102 ' Right control key Public Const VK_RCONTROL = &HA3 ' Q ... FnFindWindowLike("*Note*") If (appHWnd) Then SendMessage appHWnd, WM_CHAR, VK_Q, ByVal 0&...I can use SendMessage to send the keystroke (Alt F). Do...to use 2 sendmessage calls? Cheers, Anja Please help. Thx, Anja...
|
| Show full article (1.76Kb) · Show article thread |
|
 |
|
|
|
|