Board index » Visual Studio » MDI Form & SSTab Control

MDI Form & SSTab Control

Visual Studio361
Dear helper,



Currently I have been developing an application which contain MDI Form and

some child forms. In my design style, I also use some forms that are not MDI

Child and when they are displayed, they are shown in Modal. Thus, I

encountered something, when the modal form deactivated the focus is set MDI

form not the child form, What should I do to set focus to child form either?

I would like to set focus to the child form in the modal form unload event,

doing that would be good because I am sure that the focus is set to

whichever child form.



I would like to thank in advance for your help.



Regards,



Dina


-
 

Re:MDI Form & SSTab Control

"Dina So" <dina_so@nida.gov.kh>'s wild thoughts were

released on Tue, 27 Jan 2004 11:24:18 +0700 bearing the

following fruit:



Quote
Dear helper,



Currently I have been developing an application which contain MDI Form and

some child forms. In my design style, I also use some forms that are not MDI

Child and when they are displayed, they are shown in Modal. Thus, I

encountered something, when the modal form deactivated the focus is set MDI

form not the child form, What should I do to set focus to child form either?

I would like to set focus to the child form in the modal form unload event,

doing that would be good because I am sure that the focus is set to

whichever child form.



I would like to thank in advance for your help.





I'd be suprised that this is even necessary. Focus should

return without any help from you.



J



--

An idea is not responsible for the people who believe in it.



[Abolish the TV Licence - www.tvlicensing.biz/]">www.tvlicensing.biz/]



-

Re:MDI Form & SSTab Control

It's a known "issue"....



FIX: Focus Doesn't Return to MDI Form After Modal Form Is Closed

http://support.microsoft.com/default.aspx?scid" rel="nofollow" target="_blank">support.microsoft.com/default.aspx=kb;en-us;177163&Product=vbb





--

Ken Halter - MS-MVP-VB - www.vbsight.com">www.vbsight.com

Please keep it in the groups..





"Dina So" <dina_so@nida.gov.kh>wrote in message

Quote
Dear helper,



Currently I have been developing an application which contain MDI Form and

some child forms. In my design style, I also use some forms that are not MDI

Child and when they are displayed, they are shown in Modal. Thus, I

encountered something, when the modal form deactivated the focus is set MDI

form not the child form, What should I do to set focus to child form either?

I would like to set focus to the child form in the modal form unload event,

doing that would be good because I am sure that the focus is set to

whichever child form.



I would like to thank in advance for your help.



Regards,



Dina









-