PDA

View Full Version : unmovable winamp and playlist


clownxx
3rd July 2002, 12:53
Hey
Can anybody tell me how to make Winamp "unmovable" I don't want winamp to be changed in his position by the user.How can I send a message to winamp (with delphi) to open a new playlist (c:\songs\playlist.m3u) for example??!
Thanks for any help

Manuel

Gourou
4th July 2002, 02:26
to make it unmovable, you can hook into the windows, capture the messages, and not forward any that would deal with moving the window, etc, etc

to open a playlist, just execute winamp with the playlist as the parameter, e.g. "C:\winamp\winamp.exe c:\mypls.m3u" etc, etc, the command I dont know, but look for something like shell, or shellexec