Greetings.
I need to set up the Tab Order of some GET/COMBOBOX controls during run time, and I cannot find any way of doing it.
I know the default Tab Order is arranged in the same order as the control declarations (either in the .rc file, or when defining the controls in your code).
Unfortunately, I have a basic dialog with some pre-designed controls in a resource (.RC) file. This RC file, per requisites, cannot be modified at all.
Then, during the program execution, and depending on user input, I need to paint some other controls (Gets and maybe Comboboxes) in that same dialog. Then I need to rearrange the tab order of the controls, so the window behaves as expected (my 'runtime' controls must be usually painted in the middle of the window, and the Tab is required to smootly go from the top to the bottom of the dialog).
Right now, following the default behavior, tabbing make a first up-down pass focusing first all the .RC painted controls, and after that, another up-down pass focusing the controls I created on the fly.
Any ideas? Thank you in advance.
George.