the actual window at all, but appears in the Alt-Tab task switcher
box in place of the tedious Windows Default icon.
[originally from svn r1112]
#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.
*/