Original Post
I need to change the icon of my window dynamically, when I created it I used LoadImage to load the icon then passed it to the hIcon property of the WNDCLASSEX class. Now I would like to load a new icon and set the window icon to it after the window has been created, so how could I do this? Also is there a way to get the file name of the current icon the window is using?