in reply to Keyboard accelerators with Win32::GUI

A workaround (from a previous mail to the win32-gui-users mailing list):

In The GUI Loft, I use a Timer to poll for keyboard activity. Download the source at

http://www.bahnhof.se/~johanl/perl/Loft/

and look at the sub ::timKey_Timer (in lib\TGL\WindowDesign.pm). It uses the sub Win32::GUI::AdHoc::GetKeyboardState (in PPM\AdHoc\lib\Win32\GUI\AdHoc.pm).

It's not an elegant solution, but it works almost as desired.

Maybe you can do something similar until the Accelerator support is fixed?

/J

  • Comment on Re: Keyboard accelerators with Win32::GUI