469,590 Members | 2,464 Online
Bytes | Developer Community
New Post

Home Posts Topics Members FAQ

Post your question to a community of 469,590 developers. It's quick & easy.

I want to send a command to WinAmp and NOT wait for a return value

I am using this to send am command to WinAmp and it works, The Open File(s)
is opening but my program halts until I presses the Open or Cancel button. I
think my program is waiting for a returned value that is sent from WinAmp
when the Cancel or Open button is pressed.

I have a problem with this because I am using a remote to execute this
command so after I have done that I want to be able to use my remote to move
and press the mouse button so I can select a file... But because my program
halts until I have pressed the Open or Close button I cant use the remote to
move the mouse and open a file... I have to GO to the computer and do it
manually...

Plz help me with this, otherwise I might get exercise running to my
computer.. :P
Call SendMessageA(WinAMPhWnd, WM_COMMAND, WINAMP_FILE_PLAY, 0)
Yours, Jonas

Jul 17 '05 #1
1 2100
I just needed to use PostMessage

"BadOmen" <ba*******@hotmail.com> skrev i meddelandet
news:A1********************@newsc.telia.net...
I am using this to send am command to WinAmp and it works, The Open File(s) is opening but my program halts until I presses the Open or Cancel button. I think my program is waiting for a returned value that is sent from WinAmp
when the Cancel or Open button is pressed.

I have a problem with this because I am using a remote to execute this
command so after I have done that I want to be able to use my remote to move and press the mouse button so I can select a file... But because my program halts until I have pressed the Open or Close button I cant use the remote to move the mouse and open a file... I have to GO to the computer and do it
manually...

Plz help me with this, otherwise I might get exercise running to my
computer.. :P
Call SendMessageA(WinAMPhWnd, WM_COMMAND, WINAMP_FILE_PLAY, 0)
Yours, Jonas

Jul 17 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

6 posts views Thread by Quarco | last post: by
4 posts views Thread by jas | last post: by
2 posts views Thread by am_pcguy | last post: by
4 posts views Thread by Terry Olsen | last post: by
13 posts views Thread by Chris Carlen | last post: by
reply views Thread by Laszlo Nagy | last post: by
reply views Thread by suresh191 | last post: by
By using this site, you agree to our Privacy Policy and Terms of Use.