Dont know if this is known problem... cant find anything in the forums.
Ive made a standard MDI app and everything is fine while only one child exists. When I load a second child I start having focus problems. When the out of focus form is clicked on, focus does not change to that form but remains on the other child. The only way to shift focus to the second child is to click on its title bar.
Even stranger is that the application also has another type of child form that does not show this behaviour (focus shifts no matter where the form is clicked).
The only reference Ive found on the internet to this sort of problem was on a news group where a guy said that he had the same problem and it was caused by having an activeX control on the child (specifically the WebBrowser control). As it happens I am using the WebBrowser control too, and only on the problem children.
I just cant imagine that there could be a problem using activeX controls in .NET (or maybe its just a problem with WebBrowser) but Ive no idea what else could be happening. I need a fix cos I have to do some stuff in MdiChildActivate and this event is not firing.
Any help would be most appriciated.
D
Ive made a standard MDI app and everything is fine while only one child exists. When I load a second child I start having focus problems. When the out of focus form is clicked on, focus does not change to that form but remains on the other child. The only way to shift focus to the second child is to click on its title bar.
Even stranger is that the application also has another type of child form that does not show this behaviour (focus shifts no matter where the form is clicked).
The only reference Ive found on the internet to this sort of problem was on a news group where a guy said that he had the same problem and it was caused by having an activeX control on the child (specifically the WebBrowser control). As it happens I am using the WebBrowser control too, and only on the problem children.
I just cant imagine that there could be a problem using activeX controls in .NET (or maybe its just a problem with WebBrowser) but Ive no idea what else could be happening. I need a fix cos I have to do some stuff in MdiChildActivate and this event is not firing.
Any help would be most appriciated.
D
