Home
Download
Screenshots

Wiki
Plugins
Translations
Developers
Donate

Forums/Help
Contact Us

StrokeIt

Winamp Question

Posted by John 
John
Winamp Question
December 03, 2002 03:25PM
<HTML>Is there anyway I can get strokeit to turn winamp's volume up and down?</HTML>
Jeff
Re: Winamp Question
December 03, 2002 06:05PM
<HTML>From <a href="http://www.winamp.com/nsdn/winamp2x/dev/sdk/FRONTEND.H">www.winamp.com/nsdn/winamp2x/dev/sdk/FRONTEND.H</a>:

#define WINAMP_VOLUMEUP 40058 // turns the volume up a little
#define WINAMP_VOLUMEDOWN 40059 // turns the volume down a

So, simply create a SendMessage command with MessageId = WM_COMMAND, WParam=40058 or 40059, and LParam can be empty (or 0)

You'll probably want to bind these to WHEEL_UP and WHEEL_DOWN gestures, or something simple to draw since each "command" will incrementally increase or decrease the volume.

-- Jeff</HTML>
Author:

Your Email:


Subject:


Spam prevention:
Please, solve the mathematical question and enter the answer in the input field below. This is for blocking bots that try to post this form automatically.
Question: how much is 20 plus 1?
Message: