hide the windows buttons

M

Maileen

Hi,

I have a MDI application with a mainmenu (under VB.net 2005).
I have a child window.

When i maximize the child window, an icon appear on the left of my first
item in my mainmenu.

I would like to hide it or to not see it.

Moreover, 3 buttons appear on the right side of my mainmenu (reduce,
restore size and close). these buttons correspond to my child window
buttons (even if it was a toolbox window).

how can it have only the close button and hide the restore and reduce
buttons ?
i tried to modify the window property in design time on false, and also
via API...but nothing changed...
please, i need help.

thanks a lot,
Maileen
 
G

Guest

Maileen:

The child window has properties, MaximimizeBox and MinimizeBox. Set both of
these to be false.

That will leave only with the Close icon.

Does this help?

Venki
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top