Tab Order
-
I am creating some control over a form at run time. How to set the tab order for these controls.
Regards Anil
Sorry, I first did not notice it's on runtime. I'm not sure if it is possible to change tab order at runtime, because as far as I know, controls orders depends on the order they have been created. I mostly use these 2 function:
GetNextDlgTabItem
to get the next control in the focus orderSetFocus
to set the focus to a particular control when user presses a key (e.g. Enter = OnOk).// "Life is very short and is very fragile also." Yanni
while (I'm_alive)
{
cout<<"I love programming.";
} -
I am creating some control over a form at run time. How to set the tab order for these controls.
Regards Anil
-
Sorry, I first did not notice it's on runtime. I'm not sure if it is possible to change tab order at runtime, because as far as I know, controls orders depends on the order they have been created. I mostly use these 2 function:
GetNextDlgTabItem
to get the next control in the focus orderSetFocus
to set the focus to a particular control when user presses a key (e.g. Enter = OnOk).// "Life is very short and is very fragile also." Yanni
while (I'm_alive)
{
cout<<"I love programming.";
} -
Your right. It changes z order and place it after the first handle. I already used this API several times, but never for this purpose. Thanks, I learned something :)
// "Life is very short and is very fragile also." Yanni
while (I'm_alive)
{
cout<<"I love programming.";
} -