PDA

View Full Version : Winamp API Load Presets doesn't work! ???


hipopony66
19th July 2002, 01:14
Hey, all the other functions I wrote into my module seem to work. I'm using VB and the Postmessage function. All the other functions like the About box and File Info box work find, but I can't get any of the EQ stuff to work. I'm running Winamp 2.80. Any help appreciated.

Here's the code I have:


Public Const WINAMP_LOAD_PRESET = 40172


Public Function LoadPreset() As Long
'shows Load EQ Preset Window
LoadPreset = PostMessage(hwnd_winamp, WM_COMMAND, WINAMP_LOAD_PRESET, 0)
End Function

Gourou
23rd July 2002, 01:07
if your attempting to get a value back, you need to use sendmessage, otherwise, minus that change, it works for me