Thread: Tab order in Tab Control

  1. #1
    Registered User
    Join Date
    Feb 2004
    Posts
    31

    Exclamation Tab order in Tab Control

    Hey,

    I have a modeless dialog (as the main window) which contains a tab control. For each tab I have a child window.

    My problem lies in tabbing through the controls. As of now I can only tab through the controls in the main dialog. That is, the only control here is the tab control.

    What I want to achieve is to be able to tab through the controls on the current active tab's page.

    Any idea on how to do this?

    Thanks!

  2. #2
    Registered User
    Join Date
    Sep 2004
    Location
    California
    Posts
    3,268
    Are you giving the controls the WS_TABSTOP window style when you are creating them?

  3. #3
    Registered User
    Join Date
    Feb 2004
    Posts
    31
    Of course.

    I found the solution, though. I had to set the main dialog's Control Parent property to TRUE and all the child dialogs' Control property to TRUE.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. line number on a rich edit control
    By rakan in forum Windows Programming
    Replies: 1
    Last Post: 02-18-2008, 07:58 AM
  2. Radio buttons MSVC 2003 not working like I think they should.
    By Bajanine in forum Windows Programming
    Replies: 10
    Last Post: 12-12-2006, 10:40 PM
  3. Inconsistent display of tab characters in edit control
    By New++ in forum Windows Programming
    Replies: 0
    Last Post: 01-06-2006, 08:34 AM
  4. Changing the TAB of the Edit control
    By Garfield in forum Windows Programming
    Replies: 14
    Last Post: 07-16-2002, 02:51 AM
  5. V C++; dialog box; tab order; advancing thru
    By alzado in forum C++ Programming
    Replies: 2
    Last Post: 01-02-2002, 03:56 PM