Hi Herman,
Thanks for joining this thread!
>I'm not so sure what you mean, but if the shortcut key is "ALT + character key" you can trap it on WM_SYSCHAR.
I'm looking for a generic way for the procedure that's called via ...
on selection bar ... do MYPROCEDURE
... to determine if the ON SELECTION BAR was triggered via a mouse click or the menu bar's shortcut key.
The reason I'm looking for this information is so I can log how users interface with a prototype I'm building so the trainers know which shortcut keys to emphasize and so the design team knows how users operate the product in 'real life'.
BTW: Great to hear from you! How have you been? I've been busy trying to wrap up some projects that took a lot longer than expected. Now I'm back!
Thanks for your thoughts,
Malcolm