If I do not set the WS_EX_CONTROLPARENT style to the
tab control, I am able to press the tab key to get to the tab
control, but I can never tab to the current child dialog. If I set
the WS_EX_CONTROLPARENT style, I can now tab to the
current child dialog, but the tab key completely skips over the
tab control.
I have tried to set the WS_TABSTOP style to the tab control
but it hasn't made any difference. Ideally, I want to be able to
press the tab key to select the tab control, then press the tab
key again to move to the first control in the child dialog.
Help?
John Jolly
----
Posted via http://www.etin.com - the FREE public USENET portal on the Web
Complete SEARCHING, BROWSING, and POSTING of text and BINARY messages!
Figured out that I should rather assign the main dialog as the
parent of the child dialogs and not set that *stupid*
WS_EX_CONTROLPARENT style to the tab control. After
playing around with the dialog positioning, everything now
looks and works fine.
So, what did I learn from this? That the Win32 tab control is
mearly a pretty bauble that gives you an event when the tab
is changed. Now, if only I could figure out how to hot-key to
the different tabs, I'd be in business. But that's not very
bloody likely.
John Jolly
In reply to:
http://www.etin.com/article/Article.jsp?
messageID=24756856&folder=microsoft.public.vc.mfc