Dmitry Chapyshev <lentind@yandex.ru>

- Add a temporary icon (should be changed to a better one), so that it's displayed in the taskbar and window title.

svn path=/trunk/; revision=29412
This commit is contained in:
Aleksey Bragin 2007-10-06 10:50:51 +00:00
parent ab9b5860ed
commit 62e6f7492d
4 changed files with 15 additions and 0 deletions

View file

@ -141,11 +141,22 @@ MsConfigWndProc(HWND hDlg, UINT message, WPARAM wParam, LPARAM lParam)
{
int idctrl;
LPNMHDR pnmh;
static HICON hIcon;
switch (message)
{
case WM_INITDIALOG:
hMainWnd = hDlg;
hIcon = LoadImage(GetModuleHandle(NULL),
MAKEINTRESOURCE(IDI_APPICON),
IMAGE_ICON,
16,
16,
0);
SendMessage(hDlg,
WM_SETICON,
ICON_SMALL,
(LPARAM)hIcon);
return OnCreate(hDlg);
case WM_COMMAND:

View file

@ -12,6 +12,8 @@ LANGUAGE LANG_NEUTRAL, SUBLANG_NEUTRAL
#define REACTOS_STR_ORIGINAL_FILENAME "msconfig.exe\0"
#include <reactos/version.rc>
IDI_APPICON ICON "res/msconfig.ico"
#include "rsrc.rc"

Binary file not shown.

After

Width:  |  Height:  |  Size: 39 KiB

View file

@ -111,4 +111,6 @@
#define IDS_MSCONFIG 3000
#define IDI_APPICON 3001
/* EOF */