home
products
contribute
download
documentation
forum
Home
Forums
New posts
Search forums
What's new
New posts
All posts
Latest activity
Members
Registered members
Current visitors
Donate
Log in
Register
What's new
Search
Search
Search titles only
By:
New posts
Search forums
Search titles only
By:
Menu
Log in
Register
Navigation
Install the app
Install
More options
Contact us
Close Menu
Forums
MediaPortal 1
Development
General Development (no feature request here!)
SendMessage doesn't work
Contact us
RSS
JavaScript is disabled. For a better experience, please enable JavaScript in your browser before proceeding.
You are using an out of date browser. It may not display this or other websites correctly.
You should upgrade or use an
alternative browser
.
Reply to thread
Message
<blockquote data-quote="Battlesoft" data-source="post: 311196" data-attributes="member: 83127"><p>Hi,</p><p></p><p>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.</p><p></p><p>Real Keystrokes are received with WM_KeyDown and WM_KeyUp as expected (I use Spy++).</p><p></p><p>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.</p><p></p><p>To reproduce: send wMsg: 0x100, wParam: 0x64, lParam: 0 and 0x101, 0x64, 0 to the main window.</p><p></p><p>When using PostMessageA instead of SendMessageA or SendMessageW, it won't receive anything, same with PostMessageW.</p><p></p><p></p><p>Any ideas to solve this?</p><p>Thanks.</p><p>Philipp</p></blockquote><p></p>
[QUOTE="Battlesoft, post: 311196, member: 83127"] 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 [/QUOTE]
Insert quotes…
Verification
Post reply
Forums
MediaPortal 1
Development
General Development (no feature request here!)
SendMessage doesn't work
Contact us
RSS
Top
Bottom