|
![]() |
|
Thread Tools | Search this Thread | Display Modes |
![]() |
#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?? THX |
![]() |
![]() |
![]() |
#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? |
![]() |
![]() |
![]() |
#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. -daz |
![]() |
![]() |
![]() |
#4 |
Junior Member
|
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 Josif |
![]() |
![]() |
![]() |
|
Thread Tools | Search this Thread |
Display Modes | |
|
|