I am trying to use VC++ to load the icon onto the title bar, but it keeps loading that icon which is the ! inside a triangle! I created a resource file, loaded the icon in, named it IDI_ICON, saved it all, went to my main code, included "resource.h", went to the LoadIcon part of the hIcon and hIconSm sections of my WNDCLASSEX, and put in MAKEINTRESOURCE(IDI_ICON). But the dang thing wouldn't load, it loaded it with that ! inside a triangle. Can somebody please explain to me how to do this in VB? Help would be greatly appreciated.




Reply With Quote