Sign in to follow this  

Custom windows form icon not appearing

Recommended Posts

I used the 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

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now

Sign in to follow this