Hi,
I cannot seem to find any info on how to set the tab orders of child controls in a standard window (not a dialog). Any ideas on how to approach it?
Thanks
Jack
Hi,
I cannot seem to find any info on how to set the tab orders of child controls in a standard window (not a dialog). Any ideas on how to approach it?
Thanks
Jack
TNT
You Can Stop Me, But You Cant Stop Us All
Have a butchers at GetNextDlgTabItem, particularly the Remarks section where it says that controls are usually traversed in order of creation.
Changing that would require capturing TAB keyboard messages and overriding the default behaviour. Or you can just change the order in which you create your controls (move things around in your code/resource files).
You can use SetWindowPos to change the z-order of windows, which determines their tab order.
related question:
I have setup and created my controls in my main window, but they absolutely refuse to be tabbed through!! I have set all of them with the WS_TABSTOP property. Do I have to catch tab commands and manually advance focus to the next control?? Or is it automated in some other way that I am missing?
Thanks, that helped greatly!Originally Posted by Dante Shamest
The search has timed out so you have probably already seen this, but just in case:
Using the TAB key to navigate in non-dialogs