summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
274a5b4)
the actual window at all, but appears in the Alt-Tab task switcher
box in place of the tedious Windows Default icon.
git-svn-id: svn://svn.tartarus.org/sgt/putty@1112
cda61777-01e9-0310-a592-
d414129be87e
#define PUTTY_WIN_RES_H
#define IDI_MAINICON 200
#define PUTTY_WIN_RES_H
#define IDI_MAINICON 200
#define IDD_MAINBOX 102
#define IDD_LOGBOX 110
#define IDD_MAINBOX 102
#define IDD_LOGBOX 110
IDI_MAINICON ICON "putty.ico"
IDI_MAINICON ICON "putty.ico"
+IDI_CFGICON ICON "puttycfg.ico"
+
/* Accelerators used: clw */
IDD_ABOUTBOX DIALOG DISCARDABLE 140, 40, 214, 70
STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
/* Accelerators used: clw */
IDD_ABOUTBOX DIALOG DISCARDABLE 140, 40, 214, 70
STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
case WM_INITDIALOG:
readytogo = 0;
SetWindowLong(hwnd, GWL_USERDATA, 0);
case WM_INITDIALOG:
readytogo = 0;
SetWindowLong(hwnd, GWL_USERDATA, 0);
+ SendMessage(hwnd, WM_SETICON, (WPARAM) ICON_BIG,
+ (LPARAM) LoadIcon(hinst, MAKEINTRESOURCE(IDI_CFGICON)));
/*
* Centre the window.
*/
/*
* Centre the window.
*/