Hi, I'm finding it hard to work out how exactly I can map accelerator keys to arbitary functions based on the key pressed.
what I think I need to do is (out on a limb here) : create a keyevent object which is called by hotkeys and then handle those events somehow and get the keycode and modifier during event in the event handler using $event->GetModifiers and $event->GetKeyCode so create a new keyevent object, pass it's id as the third arg for each table entry in acceleratortable and then create a handler for that event that checks what keys are pressed and use that to call whatever function. Am I on the right track here? How do I create an event handler for an event I've created ? Thanks, Aaron -- http://www.aarontrevena.co.uk LAMP System Integration, Development and Hosting
