作者在 2010-03-25 18:23:42 发布以下内容
HINSTANCE hInstance = ::LoadLibrary("shell32.dll");
HICON hIcon = LoadIcon (hInstance, MAKEINTRESOURCE (5)) ;
SetIcon(hIcon, TRUE); // Set big icon
SetIcon(hIcon, FALSE); // Set small icon
HICON hIcon = LoadIcon (hInstance, MAKEINTRESOURCE (5)) ;
SetIcon(hIcon, TRUE); // Set big icon
SetIcon(hIcon, FALSE); // Set small icon