View Full Version : Adding Keyboard Accelerators
10th December 2004, 19:12
Does anyone know how to add a plugin's keyboard accelerator to Winamp? I'm showing and hiding my plugin using a menu item that I've added to the right-click popup menu, and want to add an Alt+<Key> reference that does the same thing.
Thanks in advance.
10th December 2004, 21:24
you'll need to provide support in the wm_syskeydown message and then acting accordingly if you're key choice is detected.
10th December 2004, 21:56
Thanks again....I was thinking way too complex on that one.
I find it a bit weird that I can't catch any wm_syskeydown messages hooking into the winamp proc.....I have to use wm_keydown and check appropriate flags instead. any thoughts as to why this might happen?
10th December 2004, 22:01
wm_keydown is fine, i can't remember if the other message is/isn't received (have to admit i did a copy & paste on the message name and used the one meant to be used in that case from the msdn info).
if wm_keydown is working then best to stick with that ;)
vBulletin® v3.8.6, Copyright ©2000-2013, Jelsoft Enterprises Ltd.