Re: [api-dev] Should a key event listener be called for the Ctrl key?

2007-07-10 Thread Andrew Douglas Pitonyak
Christoph Lupp wrote: Hi Andrew, perhaps there is an misunderstanding. You wrote in your question to the dev mail list: Pressing a combination with the Ctrl key worked as expected, and the Ctrl key was properly indicated in the attributes. But a combination of CTRL with another key also

Re: [api-dev] Should a key event listener be called for the Ctrl key?

2007-07-10 Thread Mathias Bauer
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

[api-dev] Re: [gsl-dev] Re: [api-dev] Should a key event listener be called for the Ctrl key?

2007-07-10 Thread Philipp Lohmann
Hi, Modifiers alone do not per se generate a key event in vcl for years but a specialized KeyModChange (modifier changed) event. This is not bound to the awt implementation, so I guess it is not available to any awt customer. Moreover key mod change is not dispatched on every modifier change,

Re: [api-dev] Re: [gsl-dev] Re: [api-dev] Should a key event listener be called for the Ctrl key?

2007-07-10 Thread Andrew Douglas Pitonyak
Thanks for that excellent reply! (Philipp, I copied you on BCC to make certain you would receive my thanks even if you do not monitor the list). Philipp Lohmann wrote: Hi, Modifiers alone do not per se generate a key event in vcl for years but a specialized KeyModChange (modifier changed)