Video.WindowIcon(new Icon("Icon.ico"));
But when I run the program it doesn't show the icon :( i have made sure the icon is in the folder with the .exe file but it just doesnt work.
Any suggestions?
Thank in advance
[SDL.NET] Setting a window icon
Hello, I am having a bit of trouble getting the window to use the icon i want it to.
I am using this function to set the icon:
Check to see that the "Icon.ico" is in fact in the directory of your source file, which you're trying to load a .ico file to, and not in "Images/Icon.ico"
This topic is closed to new replies.
Advertisement
Popular Topics
Advertisement