mirror of
https://github.com/reactos/reactos.git
synced 2025-08-05 20:03:12 +00:00
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:
parent
ab9b5860ed
commit
62e6f7492d
4 changed files with 15 additions and 0 deletions
|
@ -141,11 +141,22 @@ MsConfigWndProc(HWND hDlg, UINT message, WPARAM wParam, LPARAM lParam)
|
||||||
{
|
{
|
||||||
int idctrl;
|
int idctrl;
|
||||||
LPNMHDR pnmh;
|
LPNMHDR pnmh;
|
||||||
|
static HICON hIcon;
|
||||||
|
|
||||||
switch (message)
|
switch (message)
|
||||||
{
|
{
|
||||||
case WM_INITDIALOG:
|
case WM_INITDIALOG:
|
||||||
hMainWnd = hDlg;
|
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);
|
return OnCreate(hDlg);
|
||||||
|
|
||||||
case WM_COMMAND:
|
case WM_COMMAND:
|
||||||
|
|
|
@ -12,6 +12,8 @@ LANGUAGE LANG_NEUTRAL, SUBLANG_NEUTRAL
|
||||||
#define REACTOS_STR_ORIGINAL_FILENAME "msconfig.exe\0"
|
#define REACTOS_STR_ORIGINAL_FILENAME "msconfig.exe\0"
|
||||||
#include <reactos/version.rc>
|
#include <reactos/version.rc>
|
||||||
|
|
||||||
|
IDI_APPICON ICON "res/msconfig.ico"
|
||||||
|
|
||||||
#include "rsrc.rc"
|
#include "rsrc.rc"
|
||||||
|
|
||||||
|
|
||||||
|
|
BIN
reactos/base/applications/msconfig/res/msconfig.ico
Normal file
BIN
reactos/base/applications/msconfig/res/msconfig.ico
Normal file
Binary file not shown.
After Width: | Height: | Size: 39 KiB |
|
@ -111,4 +111,6 @@
|
||||||
|
|
||||||
#define IDS_MSCONFIG 3000
|
#define IDS_MSCONFIG 3000
|
||||||
|
|
||||||
|
#define IDI_APPICON 3001
|
||||||
|
|
||||||
/* EOF */
|
/* EOF */
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue