TAB key, controls and child windows with controls 
Author Message
 TAB key, controls and child windows with controls

I have a dialog and on it I have a tab control and a child dialog (yes,
I'm building a customized property sheet).

How do I get the tab control to give up focus to the child dialog when
the user hits the TAB key and how do I get the child dialog to know that
the TAB key has been hit on the last item in the tab order to give
control to it's sibling (the tab control)?



Mon, 09 Jul 2001 03:00:00 GMT  
 TAB key, controls and child windows with controls

Quote:
>I have a dialog and on it I have a tab control and a child dialog (yes,
>I'm building a customized property sheet).

>How do I get the tab control to give up focus to the child dialog when
>the user hits the TAB key and how do I get the child dialog to know that
>the TAB key has been hit on the last item in the tab order to give
>control to it's sibling (the tab control)?

Douglas,

I've never done this myself, but I think you may need to give the tab
control the WS_EX_CONTROLPARENT style.

Dave
----
My address is altered to discourage junk mail.
Please post responses to the newsgroup thread,
there's no need for follow-up email copies.



Tue, 10 Jul 2001 03:00:00 GMT  
 TAB key, controls and child windows with controls
I think you meant giving the "property sheet" dialog that style, but I
tried both and unless there's more to it, that doesn't help.
Quote:

> I've never done this myself, but I think you may need to give the tab
> control the WS_EX_CONTROLPARENT style.



Tue, 10 Jul 2001 03:00:00 GMT  
 TAB key, controls and child windows with controls

Quote:
>I think you meant giving the "property sheet" dialog that style, but I
>tried both and unless there's more to it, that doesn't help.

No, I meant the tab control.

Show us the relevant few lines of code that you've tried.

Dave
----
My address is altered to discourage junk mail.
Please post responses to the newsgroup thread,
there's no need for follow-up email copies.



Wed, 11 Jul 2001 03:00:00 GMT  
 
 [ 4 post ] 

 Relevant Pages 

1. Newbie->How to add Tabbed control to child window

2. Newbie->How to add Tabbed control to child window

3. Tab key to tab between controls does not work properly

4. Tab Control Ctrl-Tab-Keys

5. Child window of ActiveX control doesn't draw when control is moved in dialog

6. Key Buffer Problem ATL Windows RichEdit Control Control

7. MDI Children Within a Tab Control

8. Use CFormView as child of a Tab Control?

9. Use CFormView as child of a Tab Control?

10. Using dialogs as children of a tab control

11. Tabbing and child controls

12. group box, child controls and tabbing

 

 
Powered by phpBB® Forum Software