mirror of
https://github.com/reactos/reactos.git
synced 2026-06-02 17:31:23 +08:00
[SYSDM] Set the proper icon in title bar
This commit is contained in:
committed by
Robert Naumann
parent
1481df94ab
commit
9e20be0fbf
@@ -128,7 +128,7 @@ PropSheetProc(HWND hwndDlg, UINT uMsg, LPARAM lParam)
|
||||
{
|
||||
case PSCB_INITIALIZED:
|
||||
{
|
||||
hIcon = LoadIconW(hApplet, MAKEINTRESOURCEW(IDI_USERPROF));
|
||||
hIcon = LoadIconW(hApplet, MAKEINTRESOURCEW(IDI_CPLSYSTEM));
|
||||
SendMessageW(hwndDlg, WM_SETICON, ICON_BIG, (LPARAM)hIcon);
|
||||
break;
|
||||
}
|
||||
@@ -161,7 +161,7 @@ SystemApplet(HWND hwnd, UINT uMsg, LPARAM wParam, LPARAM lParam)
|
||||
psh.dwFlags = PSH_PROPTITLE | PSH_USEICONID | PSH_USECALLBACK;
|
||||
psh.hwndParent = hwnd;
|
||||
psh.hInstance = hApplet;
|
||||
psh.pszIcon = MAKEINTRESOURCEW(IDI_USERPROF);
|
||||
psh.pszIcon = MAKEINTRESOURCEW(IDI_CPLSYSTEM);
|
||||
psh.pszCaption = MAKEINTRESOURCE(IDS_CPLSYSTEMNAME);
|
||||
psh.nPages = 0;
|
||||
psh.nStartPage = 0;
|
||||
|
||||
Reference in New Issue
Block a user