|
|
#1 |
|
Junior Member
Join Date: Apr 2006
Location: us
Posts: 4
|
playing selected song
I have set up a front end program for winamp
I can select a song in the playlist but can not make that song play which command am i missing here i can do it if i remove all song in a playlist and only put the song i want there but thats not what i want to do |
|
|
|
|
|
#2 |
|
-
Join Date: Sep 2003
Location: UK
Posts: 22,272
|
SendMessage(hwnd_winamp,WM_WA_IPC,0,IPC_STARTPLAY) or SendMessage(hwnd_winamp,WM_COMMAND,MAKEWPARAM(WINAMP_BUTTON2,0),0). using IPC_SETPLAYLISTPOS allows you to set which file will be played when using either of the above methods (personally i use the wm_command option but it's your choice)
-daz |
|
|
|
|
|
#3 |
|
Junior Member
Join Date: Apr 2006
Location: us
Posts: 4
|
I've tried that and for some reason it will replay the current song not the one i have selected
|
|
|
|
|
|
#4 |
|
Junior Member
Join Date: Apr 2006
Location: us
Posts: 4
|
ah gotta put a slight delay between selecting the file and hitting the play key
thanks for the help |
|
|
|
![]() |
|
|||||||
| Thread Tools | Search this Thread |
| Display Modes | |
|
|