How can I get rid of form Icon?

  • Thread starter Thread starter burhan
  • Start date Start date
B

burhan

I don't want to use form's icon on main form. Bur can not set to null.

Is tehere any suggestion?

gburhan
 
* "burhan said:
I don't want to use form's icon on main form. Bur can not set to null.

Set the form's 'ControlBox' property to 'False' or use a dialog form
('FormBorderStyle' property). Then set the 'Icon' property to 'Nothing'
 
In basic WindowsApplication, when I set FormBorderStyle property to
FixedDialog(C#) its ok, but

My Application's main form as mdiparent and other forms-want to avoid icon-
are mdiclient.
So, when i set it as before not working properly.

waiting your suggestions.
 
this is the point what i mean,

In your example, open several documents and maximize them. You'll see app
icon left side of Menu.

can have any suggestion?
thanks

gburhan



Tim Wilson said:
If I'm understanding you correctly then it should still work fine. See the
attached zip file for a solution.
 
Ok, so you are looking to remove an MDI child windows icon when it's merged
with the MainMenu of the MDI parent. I looked around and couldn't find a way
to completely remove the icon after the merge (that's not to say that you
can't do this it's just that I didn't find a way). But you could create a
blank icon and use that. So create an icon using VS.Net and erase all it's
content (for both 16x16 and 32x32), and then assign this icon to all the MDI
children.
 
thanks for your guidance,

burhan


Tim Wilson said:
Ok, so you are looking to remove an MDI child windows icon when it's merged
with the MainMenu of the MDI parent. I looked around and couldn't find a way
to completely remove the icon after the merge (that's not to say that you
can't do this it's just that I didn't find a way). But you could create a
blank icon and use that. So create an icon using VS.Net and erase all it's
content (for both 16x16 and 32x32), and then assign this icon to all the MDI
children.
 
Set the FormBorderStyle to 'FixedDialog', if you do not need resizing of the
form.

Thanks,
VijayaKrishna P.
 
Back
Top