PDA

View Full Version : Closing Winamp from a plugin - N00b question


gb115
20th July 2003, 18:50
err..

as the title says... How do I close Winamp from my plugin (written in Visual C++)

I can't seem to find the a command for it in FRONTEND.H


regards

G

Mr_007
21st July 2003, 15:01
Yes in update my see on classic.winamp.com
one plugin that of your pc.
please search in this site:http://classic.winamp.com/plugin

popatr
21st July 2003, 19:56
SendMessage(PluginData.hwndParent, WM_CLOSE, 0,0);

Replace "PluginData" with whatever your exported symbol is called.
I'm not sure of the wParam and lParam that I gave- I don't think they matter.