User Profile

Collapse

Profile Sidebar

Collapse
Mickevh
Mickevh
Last Activity: Jun 22 '07, 10:26 AM
Joined: Jun 21 '07
Location:
  •  
  • Time
  • Show
  • Source
Clear All
new posts

  • Mickevh
    replied to Edit control tab / child windows / tabstop
    in C
    More info:

    If you want to control the order in which you tab through controls at run time, use the SetWindowPos function. My (MFC) code fragment for doing this is...

    // From the parent window of the the controls...

    CWnd* pWnd; // Ptr to window we're changing.
    CWnd* pAfter; // Ptr to window we want pWnd after.
    UINT nFlags=SWP_SHOW WINDOW|SWP_NOSI ZE|SWP_NOMOVE; //...
    See more | Go to post

    Leave a comment:


  • Mickevh
    replied to Edit control tab / child windows / tabstop
    in C
    Aha: I think I've found the answer to my own problem: Take a look at...

    .... http://www.microsoft.c om/mind/0499/faq/faq0499.asp

    and

    .... http://support.microso ft.com/?kbid=165074

    ... for a description of what's up with tabbing between CWnd child window controls. The first article is specific to "web browsers within other windows" but the descriptions contained of how Windows handles...
    See more | Go to post

    Leave a comment:


  • Mickevh
    replied to Edit control tab / child windows / tabstop
    in C
    I don't know if it helps, but I'm exploring the same issue except I'm using VC++ 5 (stop laughing at the back, I've had it for years and it was cheap.)

    Anyway, I've got a class derived from CView which has a number of objects embedded in it representing "lines" of information. Each "line" is itself a class derived from plain old CWnd that contains static text, two CButton controls and two "custom" controls...
    See more | Go to post

    Leave a comment:

No activity results to display
Show More
Working...