Andrew Douglas Pitonyak wrote: > I was asked about a simple key handler in Calc. With the key handler, if > you pressed the alt key, the event handler was called. Unfortunately, if > you pressed the Ctrl key the event handler was not called. > > Pressing a combination with the Ctrl key worked as expected, and the > Ctrl key was properly indicated in the attributes. > > Given that the com.sun.star.awt.XKeyHandler caused the handler to be > called when I pressed the Alt key, I also expected it to be called when > I pressed the Ctrl key.
Sounds reasonable. The KeyHandler notifications are built upon internal notifications from VCL. So if no KeyHandler is called I assume that also VCL does not send this key event to the application code. I've sent a CC: to the gsl list as I hope that the gsl developers can shed some light on this. Please use "Reply All" for responding. Ciao, Mathias -- Mathias Bauer (mba) - Project Lead OpenOffice.org Writer OpenOffice.org Engineering at Sun: http://blogs.sun.com/GullFOSS Please don't reply to "[EMAIL PROTECTED]". I use it for the OOo lists and only rarely read other mails sent to it. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
