Hi, when a toolwindow has got focus and I open a dialog or messagebox in code and the user closes it, the focus is set to the first control in the toolwindow instead of the control which were focused the last. How can I restore focus to the last focused control? Preferrably with one code change only and without having to make changes in all tool window classes instead.
[Modified 6 years ago]