Link to home
Start Free TrialLog in
Avatar of rashmitodkar
rashmitodkar

asked on

Urgent: How to remove icon of mdi child form

hi all
  the thing i want to do is i want to remove the icon of child form and i dont want to allow that system menu to child form ,
but i want to allow user to resize the form but i just dont want that system menu. and also the icon
in the child form please help if anybody can .

thanks in adv.
bye
rashmi
Avatar of sumix
sumix

you can set FormBorderStyle property to SizableToolWindow for child form
Avatar of rashmitodkar

ASKER

no it is not acting as i want
actually it is giving same effect as that of sizable.
i think i didn't stated the  q. in a right way

the thing is i dont want the icon and the system menu which appears whenever we click in a left corner of the form
but i want the control box i.e. those 3 btns means min/max/close.
i think now it is more clear
It's just not possible. I have searched lately information about that and I found official statement from MS that this is behavior "by design" and it cannot be removed. The one I showed you was just a work around to hide all.
oh thanks
can u please tell me the link where u got this statement.?
Sorry, I cannot find the exact link but have a look here:

http://www.dotnet247.com/247reference/msgs/24/121457.aspx

It says:  I did read
one post where this question was posed and the Microsoft
response was that this is by design.

Follow this link and you will see a lot of discussions on the same point from this site:

http://www.google.ch/search?q=mdi+remove+controlbox+site%3Adotnet247.com&ie=UTF-8&oe=UTF-8&hl=en&meta=

The result is always the same: you can hide those elements only in some special ocasions.
ASKER CERTIFIED SOLUTION
Avatar of TheAvenger
TheAvenger
Flag of Switzerland image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial