[wxMac] Accelerators and focus
Vadim Zeitlin
vadim at wxwidgets.org
Wed Nov 7 15:32:27 PST 2007
On Wed, 7 Nov 2007 10:08:01 -0500 Ryan Wilcox <ryanwilcox at mac.com> wrote:
RW> Meaning that if you're in a text control and the application wants to
RW> do something special when you hit F1, but only in that text control,
RW> then set the accelerator table for that text control as appropriate.
It seems logical that this should work, why shouldn't it? It's true that
usually the accelerators are associated with top level windows but I don't
see anything that prevents setting them for child windows and in this case
they get the first chance at processing the key strokes, of course.
Regards,
VZ
--
TT-Solutions: wxWidgets consultancy and technical support
http://www.tt-solutions.com/
More information about the wx-users
mailing list