Implementing Photoshop-like focus policy

Bill Baxter wbaxter at gmail.com
Sat Jun 30 02:08:23 PDT 2007


On 6/30/07, Vadim Zeitlin <vadim at wxwidgets.org> wrote:
> On Sat, 30 Jun 2007 11:23:58 +0900 Bill Baxter <wbaxter at gmail.com> wrote:
>
> BB> I wonder why top level frames don't get the same sort of "last chance"
> BB> access to key events that happen inside of them?
>
>  This would be confusing as these events could interfere with the events
> generated by the frame itself. E.g. EVT_SIZE could get the events for the
> frame children which would definitely be unexpected. wxApp doesn't get any
> events itself though so this is not a problem for it.

Yeh, I just meant the key events actually, not all events.  Kind of
like how command events are treated specially now, I think it would be
convenient if key events were sent to the frame if not handled at the
widget level.  There aren't so many key events that it would create
any kind of performance impact I don't think.  And just as with wxApp
getting unhandled events, it wouldn't be confusing for the frame to
get unhandled key events, because top level frames don't usually get
any key events anyway (at least not if they have anything in them,
right?)

--bb




More information about the wx-users mailing list