[FONTVIEW]

fontview - Add icon to main window by Lee Schroeder
CORE-7400 #resolve

svn path=/trunk/; revision=61636
This commit is contained in:
Daniel Reimer 2014-01-15 23:09:46 +00:00
parent e40ece995d
commit f550774e3f
2 changed files with 4 additions and 2 deletions

View file

@ -197,12 +197,12 @@ WinMain (HINSTANCE hThisInstance,
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))

View file

@ -13,3 +13,5 @@
#define IDS_CHARSLOWER 700
#define IDS_CHARSUPPER 701
#define IDS_SPECIALCHARS 702
#define IDI_TT 800