Jump to content

Featured Replies

Posted

Lotsa people like to integrate winamp into their hacks.. and some use the sdk. To me, thats pointless.. its a lot easier using sendmessage.

 

Kinda hard to explain in detail, since its so simple.. so here

 

First declare your hWind which finds winamp

HWND hwndWinamp = FindWindow("Winamp v1.x",NULL);

 

What this does is find the winamp window, allowing you to control it. Next, simply add some controlling commands, such as

SendMessage(hwndWinamp, WM_COMMAND, 40048, 0);

To go to the next track.

 

Heres a few commands that are helpful in winamp:

 

Next Track 40048

Pause / Unpause 40046

Previous Track 40044

Raise volume by 1% 40058

Lower volume by 1% 40059

 

Incredibly easy to do :)

I hope to see winamp controls more often :P

the hack im using right now "Sl4y0r V3", shows the track and time n stuff like that but recently something happened to it n it never shows up again...
Guest
This topic is now closed to further replies.