I have an mdi application. In this application the child forms use an ActiveX control that I have made. When the focus is on this control and I close a child form, the focus is no longer on the mdi. If the child form is closed when the focus is on another control the mdi gets the focus. If the child form is closed while an other child form is opened the focus goes on the other child form.
Why would the mdi lose its focus?
Any idea would be appreciated