mirror of
https://github.com/reactos/reactos.git
synced 2025-07-31 11:51:58 +00:00
[SYSDM] Set the proper icon in title bar
This commit is contained in:
parent
1481df94ab
commit
9e20be0fbf
1 changed files with 2 additions and 2 deletions
|
@ -128,7 +128,7 @@ PropSheetProc(HWND hwndDlg, UINT uMsg, LPARAM lParam)
|
||||||
{
|
{
|
||||||
case PSCB_INITIALIZED:
|
case PSCB_INITIALIZED:
|
||||||
{
|
{
|
||||||
hIcon = LoadIconW(hApplet, MAKEINTRESOURCEW(IDI_USERPROF));
|
hIcon = LoadIconW(hApplet, MAKEINTRESOURCEW(IDI_CPLSYSTEM));
|
||||||
SendMessageW(hwndDlg, WM_SETICON, ICON_BIG, (LPARAM)hIcon);
|
SendMessageW(hwndDlg, WM_SETICON, ICON_BIG, (LPARAM)hIcon);
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
@ -161,7 +161,7 @@ SystemApplet(HWND hwnd, UINT uMsg, LPARAM wParam, LPARAM lParam)
|
||||||
psh.dwFlags = PSH_PROPTITLE | PSH_USEICONID | PSH_USECALLBACK;
|
psh.dwFlags = PSH_PROPTITLE | PSH_USEICONID | PSH_USECALLBACK;
|
||||||
psh.hwndParent = hwnd;
|
psh.hwndParent = hwnd;
|
||||||
psh.hInstance = hApplet;
|
psh.hInstance = hApplet;
|
||||||
psh.pszIcon = MAKEINTRESOURCEW(IDI_USERPROF);
|
psh.pszIcon = MAKEINTRESOURCEW(IDI_CPLSYSTEM);
|
||||||
psh.pszCaption = MAKEINTRESOURCE(IDS_CPLSYSTEMNAME);
|
psh.pszCaption = MAKEINTRESOURCE(IDS_CPLSYSTEMNAME);
|
||||||
psh.nPages = 0;
|
psh.nPages = 0;
|
||||||
psh.nStartPage = 0;
|
psh.nStartPage = 0;
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue