471,853 Members | 916 Online
Bytes | Software Development & Data Engineering Community
Post +

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 471,853 software developers and data experts.

How to hide sub form's ico of MDI form?

Hello everyone
I am editing a MDI form now. The container do not have menu. So there has no menu bar at the top of the container. When I load a sub form of it and set the WindowState property is "Maximized", the container will display the sub form's ico and Maximized, Minimized & Close buttons at the top of it, where is the menu bar
My question is how can I hide the ico and buttons. In the end hide the menu bar of the container
My e-mail address is: xu********@hotmail.com , Thanks

Steve
2004.02.03
Nov 20 '05 #1
1 1500
I think you can do this by setting its ControlBox property to False when
it's maximized, then setting it to True when it's restored.

- Pete
"Steven" <xu********@hotmail.com> wrote in message
news:95**********************************@microsof t.com...
Hello everyone!
I am editing a MDI form now. The container do not have menu. So there has no menu bar at the top of the container. When I load a sub form of it
and set the WindowState property is "Maximized", the container will display
the sub form's ico and Maximized, Minimized & Close buttons at the top of
it, where is the menu bar. My question is how can I hide the ico and buttons. In the end hide the menu bar of the container? My e-mail address is: xu********@hotmail.com , Thanks!

Steven
2004.02.03

Nov 20 '05 #2

This discussion thread is closed

Replies have been disabled for this discussion.

Similar topics

13 posts views Thread by genetic.error | last post: by
2 posts views Thread by Ajai Kumar .R | last post: by
2 posts views Thread by MOHSEN KASHANI | last post: by
4 posts views Thread by jerryyang_la1 | last post: by
5 posts views Thread by Kirk Graves | last post: by
4 posts views Thread by BrianDH | last post: by
2 posts views Thread by gene kelley | last post: by
13 posts views Thread by jeff | last post: by
NeoPa
reply views Thread by NeoPa | last post: by

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.