how to control MdiStandard


Author
Message
JSW W.
JSW W.
Supreme Being (127 reputation)Supreme Being (127 reputation)Supreme Being (127 reputation)Supreme Being (127 reputation)Supreme Being (127 reputation)Supreme Being (127 reputation)Supreme Being (127 reputation)Supreme Being (127 reputation)Supreme Being (127 reputation)
Group: Forum Members
Posts: 127, Visits: 1
m_DockManager.DocumentStyle.DocumentViewStyle = DocumentViewStyle.MdiStandard

How to control the document in this mode?
I mean when i maximized the document. There is no buttons or something to control it.


Also are the way to force all MdiStandard to be Maximized and no minimize allow?
Reply
Angel Chorbadzhiev
Angel Chorbadzhiev
Supreme Being (142 reputation)Supreme Being (142 reputation)Supreme Being (142 reputation)Supreme Being (142 reputation)Supreme Being (142 reputation)Supreme Being (142 reputation)Supreme Being (142 reputation)Supreme Being (142 reputation)Supreme Being (142 reputation)
Group: Forum Members
Posts: 139, Visits: 184

Hello JSW W.,

We had small issue with the mix, max, close buttons of the documents when they are in MdiStandard document style and they are maximized.

Yesterday (Feb,03,2010) we have released a service pack where this problem is fixed.

However, in order to be able to see these buttons you need to place NCommandBarsManager control with one NMenuBar in it where these buttons should resize.

 

Regarding the second question when the document style is MdiStandard the host of the panel is NMdiChild and you can do the following:

 

NUIDocument doc = new NUIDocument();

NMdiChild host = doc.Host as NMdiChild;

if (host != null)

{

host.WindowState = FormWindowState.Maximized;

host.MinimizeBox = false;

}

Regards,

Angel.


GO

Merge Selected

Merge into selected topic...



Merge into merge target...



Merge into a specific topic ID...





Similar Topics

Reading This Topic

Login

Explore
Messages
Mentions
Search