[SDL.NET] Setting a window icon

Started by
0 comments, last by aleisterbukowski 15 years, 11 months ago
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:

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
Advertisement
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