Old 3rd June 2010, 14:43   #1
Junior Member
Join Date: Jun 2010
Posts: 2
how to call functions from own plugin with a short-cut

Hello there,

I am about to write an own winamp plugin. But i am quite new in this. So i was looking for a possibility to call my own functions from my plugins. But i didn't find anything in the tutorials.

For example:
Press "CTRL-SHIFT-D" calls a function in my plugin which removes all music files from the media library

Can anyone tell me how to solve this??

sichkant is offline   Reply With Quote
Old 5th June 2010, 12:37   #2
Senior Member
Join Date: Aug 2008
Posts: 114
I don't think the hot-keys will work in your case...

why don't you try subclassing Winamp?
griffins_Grader is offline   Reply With Quote
Old 8th June 2010, 15:52   #3
Join Date: Sep 2003
Posts: 27,873
it all depends on if you want it available just when Winamp is selected (IPC_TRANSLATEACCELERATOR or api_application->app_addAccelerators(..)) or a global hotkey can be used (see wa_hotkeys.h).

either way, you'd need to subclass Winamp inorder to get the callback event when the action is done. btw, Ctrl+Shift+D is used in another popular plug-in.

DrO is offline   Reply With Quote
Old 15th June 2010, 16:22   #4
Junior Member
Join Date: Jul 2009
Location: Ð_оссия
Posts: 3
Send a message via ICQ to bukdub
how to call functions from own plugin with a short cut

Hi there

I just finished building my first custom component
In the admin section of my component I have a field where the admin can type
in a morfeoshow gallery ID.

Morfeoshow plugin usually works with morfeo x in articles etc, but not in my component.
How can I get it to work?

Thanks in advance

bukdub is offline   Reply With Quote
Go Back   Winamp & Shoutcast Forums > Developer Center > Winamp Development

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump