At 15:38 2003-05-22 -0700, Glenn Linderman wrote:
In particular, I need to be able to react to keystrokes regardless of the focus of the mouse within my main window.... accelerator keys, I guess it is called.
The workaround in TGL is to poll the keyboard. You can do that regardless of which window has focus (even other apps I think). It's a poor workaround in that it doesn't feel 100% like real accelerator keys, but that may be improved. It works for e.g. bringing up dialogs, but not quite for faking a believable copy-paste (repeat key-presses etc breaks down).
Does The GUI Loft cure the lack of accelerator keys? Or is is just stuck not being able to use them because of the lack of support in Win32-GUI?
Not sure what you mean by "cure", but Win32::GUI::Loft doesn't provide anything like that for you to use at runtime. The workaround implemented in The GUI Loft uses some routines in Win32::GUI::AdHoc which you can use.
/J -------- ------ ---- --- -- -- -- - - - - - Johan Lindström Sourcerer @ Boss Casinos [EMAIL PROTECTED] Latest bookmark: "Short Refactoring Tip let the object do it for..." http://www.perlmonks.org/index.pl?node_id=259306 dmoz (1 of 11): ...ters/Programming/Methodologies/Object-Oriented/ 36