[lazarus] Win32 accelerator issues
Micha Nelissen
micha at neli.hopto.org
Wed Dec 17 11:53:52 EST 2003
Hi,
Ever noticed the menu 'shortcuts' don't work in the IDE on win32? They
work, but only when the main window is focused. The general problem is
that a shortcut is register when a certain menu 'command' _globally_,
without a corresponding window. Microsoft thought that everyone would
use a seperate windowproc for each window...right. Nasty problems can
occur if one registers the same shortcut for two seperate windows,
causing shortcuts to initiate the wrong action depending on the order of
registration.
Anyone any bright ideas to solve this? Using some kind of broadcast to
'ask' all windows for a shortcut? This still doesn't solve my above
'nasty problem'. How does the GTK handle this?
Micha.
More information about the Lazarus
mailing list