How do I dynamically change an applications icon with only the window's handle. I've tried the following:but I get this error:Code:LoadIcon(NULL, MAKEINTRESOURCE(IDI_ICON1));
SetClassLong(hwnd, GCL_HICON, hIcon);
Quote:
SetClassLongA' : cannot convert parameter 3 from 'struct HICON__ *' to 'long'