By using this site, you agree to our updated Privacy Policy and our Terms of Use. Manage your Cookies Settings.
432,537 Members | 1,743 Online
Bytes IT Community
+ Ask a Question
Need help? Post your question and get tips & solutions from a community of 432,537 IT Pros & Developers. It's quick & easy.

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

P: n/a
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
Share this Question
Share on Google+
1 Reply


P: n/a
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.