Accelerator Table on "Invisible" children
Joel Low
joel at joelsplace.sg
Thu Aug 31 17:15:39 PDT 2006
How do I know that the event came from a child control? By using
wxEvent::GetId()? That returns the parent's ID, IMHO.
Joel
> -----Original Message-----
> From: Vadim Zeitlin [mailto:vadim at wxwindows.org]
> Sent: 31 August 2006 7:05 PM
> To: wxWidgets Users' List
> Subject: Re: Accelerator Table on "Invisible" children
>
> On Tue, 29 Aug 2006 18:32:08 +0800 Joel Low <joel at joelsplace.sg> wrote:
>
> JL> Setting the accelerator table for the parent control will also
> JL> affect its children. For example, setting a listctrl with an
> JL> accelerator table would also affect the edit control that is
> created during in-place editing.
>
> IMHO this is normal and expected, the accelerators wouldn't be very
> useful if they didn't work for children. In your case you probably
> want to ignore them while editing in place is done though.
>
> Regards,
> VZ
> --
> TT-Solutions: wxWidgets consultancy and technical support
> http://www.tt-solutions.com/
>
>
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: wx-users-unsubscribe at lists.wxwidgets.org
> For additional commands, e-mail: wx-users-help at lists.wxwidgets.org
>
>
More information about the wx-users
mailing list