
group box, child controls and tabbing
CEdits cannot be children of a group box if you use the dialog editor.
If you have managed to do this using CreateWindow, that's why it won't
work. For all practical purposes, these controls are completely
invisible to the tabbing mechanism. They must be siblings of the group
box.
joe
On Fri, 15 Sep 2000 09:32:21 -0400, Doug Norton
Quote:
>I'm creating an mfc dialog and programmatically adding controls and I'm
>having a problem getting WS_TABSTOP to work.
>If I create a dialog with 2 CEdit's using WS_TABSTOP style, tabbing works.
>If I add a groupbox (CButton with BS_GROUPBOX style and WS_EX_CONTROLPARENT
>extended style) and add the 2 CEdits as children tabbing does not work.
>What else do I need to do to get tabbing to work?
>Thanks,
>-doug
>--
>Doug Norton
>Agile Enterprise, Inc
>Nashua, NH 03031
Joseph M. Newcomer [MVP]
Web: http://www3.pgh.net/~newcomer
MVP Tips: http://www3.pgh.net/~newcomer/mvp_tips.htm