Keyboard navigation of dialogs
Ole Nielsby
ole.nielsby at tekare-you-spamminglogisk.dk
Mon Aug 6 12:55:21 PDT 2007
Richard <legalize+jeeves at mail.xmission.com> wrote:.
>
> Ole Nielsby <ole.nielsby at tekare-you-spamminglogisk.dk> spake thusly:
>
>>For me TAB navigation works, but perhaps someone forgot the
>>wxTAB_TRAVERSAL style (see doc for wxWindow).
>
> Are you saying it works in DialogBlocks, or that it works in your own
> application?
I was talking about my own apps - I never used DialogBlocks. I use
wxDialog when I want keyboard navigation and this works for me
(on WinXP, haven't tried the other platforms yet). I don't know how
DialogBlocks mangages to .... this up, it seems pretty simple when
writing the code.
Now, Win32 has a weird way of dealing with keyboard navigtion.
Controls that contain other controls must have a special extended style
(WS_EX_CONTROLPARENT) if the inner controls are to take part
in the keyboard navigation, so perhaps the DialogBlocks was developed
on Linux and used a container that doesn't have this style in Windows...
(I'm really not qualified to lecture about wxWidgets keyboard
navigation, I just got taken by an old warrior's urge to show my
scars from struggling with the Win32 keyboard navigation...)
More information about the wx-users
mailing list