|
Hallo,anybody here konws,except Form which components and controls can be used as MDIParent? Can we create our own usercontrol to be a MDIParent?thanks alot!
bell | | ï½‚ï½…ï½Œï½Œï¼’ï¼’ï¼•ï¼–ï¼ Monday, January 19, 2009 11:58 AM |
Hi Bell,
Do you mean you want to create a control to contain child forms? That’s very complex. There is a MdiClient Class which represents the container for multiple-document interface child forms. But it cannot be inherited. Get more information from MdiClient Class.
I guess you may want to add control outside the form container. If so, you can add a panel the form, set the dock property to the panel, then you can add control to the panel, just like this.
If you have any other questions, please feel free to tell me.
Best regards,
Ling
Please remember to click “Mark as Answer�on the post that helps you, and to click “Unmark as Answer�if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread. - Unproposed As Answer byLing WangMSFT, ModeratorThursday, January 29, 2009 1:11 AM
- Proposed As Answer byLing WangMSFT, ModeratorFriday, January 23, 2009 10:20 AM
- Marked As Answer byLing WangMSFT, ModeratorThursday, January 29, 2009 3:09 AM
-
| | Ling Wang Friday, January 23, 2009 4:56 AM |
Hi Bell,
Do you mean you want to create a control to contain child forms? That’s very complex. There is a MdiClient Class which represents the container for multiple-document interface child forms. But it cannot be inherited. Get more information from MdiClient Class.
I guess you may want to add control outside the form container. If so, you can add a panel the form, set the dock property to the panel, then you can add control to the panel, just like this.
If you have any other questions, please feel free to tell me.
Best regards,
Ling
Please remember to click “Mark as Answer�on the post that helps you, and to click “Unmark as Answer�if a marked post does not actually answer your question. This can be beneficial to other community members reading the thread. - Unproposed As Answer byLing WangMSFT, ModeratorThursday, January 29, 2009 1:11 AM
- Proposed As Answer byLing WangMSFT, ModeratorFriday, January 23, 2009 10:20 AM
- Marked As Answer byLing WangMSFT, ModeratorThursday, January 29, 2009 3:09 AM
-
| | Ling Wang Friday, January 23, 2009 4:56 AM |
|