Author: dreimer
Date: Wed Jan 15 23:09:46 2014
New Revision: 61636
URL:
http://svn.reactos.org/svn/reactos?rev=61636&view=rev
Log:
[FONTVIEW]
fontview - Add icon to main window by Lee Schroeder
CORE-7400 #resolve
Modified:
trunk/reactos/base/applications/fontview/fontview.c
trunk/reactos/base/applications/fontview/resource.h
Modified: trunk/reactos/base/applications/fontview/fontview.c
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/applications/fontview…
==============================================================================
--- trunk/reactos/base/applications/fontview/fontview.c [iso-8859-1] (original)
+++ trunk/reactos/base/applications/fontview/fontview.c [iso-8859-1] Wed Jan 15 23:09:46
2014
@@ -197,12 +197,12 @@
wincl.cbClsExtra = 0;
wincl.cbWndExtra = 0;
wincl.hInstance = hThisInstance;
- wincl.hIcon = LoadIcon (NULL, IDI_APPLICATION);
+ wincl.hIcon = LoadIcon (GetModuleHandle(NULL), MAKEINTRESOURCE(IDI_TT));
wincl.hCursor = LoadCursor (NULL, IDC_ARROW);
wincl.hbrBackground = (HBRUSH)COLOR_BACKGROUND;
wincl.lpszMenuName = NULL;
wincl.lpszClassName = g_szFontViewClassName;
- wincl.hIconSm = LoadIcon (NULL, IDI_APPLICATION);
+ wincl.hIconSm = LoadIcon (GetModuleHandle(NULL), MAKEINTRESOURCE(IDI_TT));
/* Register the window class, and if it fails quit the program */
if (!RegisterClassExW (&wincl))
Modified: trunk/reactos/base/applications/fontview/resource.h
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/base/applications/fontview…
==============================================================================
--- trunk/reactos/base/applications/fontview/resource.h [iso-8859-1] (original)
+++ trunk/reactos/base/applications/fontview/resource.h [iso-8859-1] Wed Jan 15 23:09:46
2014
@@ -13,3 +13,5 @@
#define IDS_CHARSLOWER 700
#define IDS_CHARSUPPER 701
#define IDS_SPECIALCHARS 702
+
+#define IDI_TT 800