Jump to content
  • Advertisement
Sign in to follow this  

Custom windows form icon not appearing

This topic is 3895 days old which is more than the 365 day threshold we allow for new replies. Please post a new topic.

If you intended to correct an error in the post then please contact us.

Recommended Posts

I used the VS.net forms designer to set the icon of the form to a custom one but it does not appear in the top-left corner of the form or in the taskbar. The form is has ShowInTaskbar set to false and is also set to be minimized initially. To maximize it, you have to right-click on it's notify icon and then select "status" from a context menu. This maximizes it and also shows it in the taskbar. Now, if i use the default icon (the three boxes one), it shows up correctly, but if I try to set a custom icon it shows up as the white application window icon. The icon itself is in an embedded resource file and nothing looks wrong with the code the designer generates, but I've tried various things and i still can't get it to show up. Any ideas? (The notify icon is also custom and it is displayed correctly. It is in the same resource file as the form icon)

Share this post

Link to post
Share on other sites
Sign in to follow this  

  • Advertisement

Important Information

By using GameDev.net, you agree to our community Guidelines, Terms of Use, and Privacy Policy.

We are the game development community.

Whether you are an indie, hobbyist, AAA developer, or just trying to learn, GameDev.net is the place for you to learn, share, and connect with the games industry. Learn more About Us or sign up!

Sign me up!