- October 5, 2008
- 4
- 1
Hi,
I simply want to send some commands to MediaPortal. Since I didn't find any Sendmessage-Plugin, I do now send keystrokes to the main window.
Real Keystrokes are received with WM_KeyDown and WM_KeyUp as expected (I use Spy++).
If I send the same messages from my application, Spy++ shows me, that MediaPortal receives WM_Null only. But: the wParam is set to my original wMsg, lParam is empty.
To reproduce: send wMsg: 0x100, wParam: 0x64, lParam: 0 and 0x101, 0x64, 0 to the main window.
When using PostMessageA instead of SendMessageA or SendMessageW, it won't receive anything, same with PostMessageW.
Any ideas to solve this?
Thanks.
Philipp
I simply want to send some commands to MediaPortal. Since I didn't find any Sendmessage-Plugin, I do now send keystrokes to the main window.
Real Keystrokes are received with WM_KeyDown and WM_KeyUp as expected (I use Spy++).
If I send the same messages from my application, Spy++ shows me, that MediaPortal receives WM_Null only. But: the wParam is set to my original wMsg, lParam is empty.
To reproduce: send wMsg: 0x100, wParam: 0x64, lParam: 0 and 0x101, 0x64, 0 to the main window.
When using PostMessageA instead of SendMessageA or SendMessageW, it won't receive anything, same with PostMessageW.
Any ideas to solve this?
Thanks.
Philipp