CWindow::SetIcon
This method sets large or small icons in the window to the icon identified by hIcon. SetIcon sends a WM_SETICON message to the window.
HICON SetIcon(
HICON hIcon,
BOOL bBigIcon = TRUE);
Parameters
hIcon
[in] The handle to a new icon.
bBigIcon
[in] If TRUE, the default value, the method sets a large icon. Otherwise, it sets a small icon.
Return Value
The handle to the previous icon.
不会吧,你程序都写出来了,不会换个图标