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; //...
User Profile
Collapse
-
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...Leave a comment:
-
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...Leave a comment:
No activity results to display
Show More
Leave a comment: