
Tabbing and child controls
To verify that you are not missing some style bit, the first thing I would
do is put the controls on the dialog at design time and then programatically
see what style bits are set for each control. Then, just replicate those
style bits in your code.
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
> --