set foreground window
Posted on 2001-09-05
how do you know the focus sequence in multiple non MDIChild forms?
for example, form1, form2 and form3 is created using the main form. when form3 closes, the focus will be on form2. when form2 closes, the focus will be on form1.
Hope you can help me out on this. thank you in advance