Archived from groups: microsoft.public.pocketpc.multimedia (More info?)
Hi all,
I would like to control some of the basic commands of WMP remotely,
such as Play/Pause/Stop etc.. I am using a pocket PC device which runs
WMP-10. I ran remote spy to see what window messages were posted when
Play/pause or stop is selected from the menu of WMP.
I saw that for play/pause (cmd: WM_COMMAND, wParam: 0x2712 lParam : 0)
and for stop (cmd: WM_COMMAND, wParam: 0x2714 lParam : 0). When i
added a postMessage with the above parameters in my application, i am
getting the proper result. The only problem is that i have to select the
Menu option from WMP once before which the above commands from my
application take affect.
Does anyone know why this may be happening ? If this is not the right
way, can someone suggest me what is the correct way ?. I tried posting
VK_MEDIA_PLAY_PAUSE key. But this does not work.
-Mayank
Hi all,
I would like to control some of the basic commands of WMP remotely,
such as Play/Pause/Stop etc.. I am using a pocket PC device which runs
WMP-10. I ran remote spy to see what window messages were posted when
Play/pause or stop is selected from the menu of WMP.
I saw that for play/pause (cmd: WM_COMMAND, wParam: 0x2712 lParam : 0)
and for stop (cmd: WM_COMMAND, wParam: 0x2714 lParam : 0). When i
added a postMessage with the above parameters in my application, i am
getting the proper result. The only problem is that i have to select the
Menu option from WMP once before which the above commands from my
application take affect.
Does anyone know why this may be happening ? If this is not the right
way, can someone suggest me what is the correct way ?. I tried posting
VK_MEDIA_PLAY_PAUSE key. But this does not work.
-Mayank