How to remove a window-Icon

  • Thread starter Thread starter Peter Stojkovic
  • Start date Start date
P

Peter Stojkovic

I have programmed a window with an icon.
Now I want, that this window has NO Icon.

But I can not remove the icon within VS.NET.
I can only select an other ICON !


How can I remove the icon from the window ?

Is a window without Icon possible ?


Thanks
Peter
 
Play with FormBorderStyle or set ControlBox to false.
HTH
rawCoder
 
Peter Stojkovic said:
I have programmed a window with an icon.
Now I want, that this window has NO Icon.

But I can not remove the icon within VS.NET.
I can only select an other ICON !


How can I remove the icon from the window ?

You can remove a custom icon from a window by either placing the cursor over
the "(Icon)" text in the properties window and pressing the Delete key or by
selecting "Reset" from the property's context menu.
Is a window without Icon possible ?

Set the 'FormBorderStyle' property to 'FixedDialog', the 'ShowInTaskbar'
property to 'False' and the 'Icon' property to 'Nothing' (at runtime).
 

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

Back
Top