1
0
mirror of https://git.tartarus.org/simon/putty.git synced 2025-01-09 09:27:59 +00:00
putty-source/windows/win_res.h
Simon Tatham 670f9d8620 Windows: new custom host-key verification dialogs.
I've replaced the old versions using the standard MessageBox with new
versions using custom-drawn dialog templates and dialog procedures.

The visible changes are that the acceptance buttons have custom text
describing the actions they'll take, like the GTK versions, instead of
having to stick with bog-standard "Yes" and "No" and hope the user
reads the explanation in the main box text.

Also, this gives me the opportunity to spiff up the looks a bit, by
making the "POTENTIAL SECURITY BREACH" in the wrong-host-key dialog
larger and boldface.

But those are minor cosmetic side effects of my real purpose, which is
to make it possible to add further controls to these boxes in future.
2021-03-13 11:01:27 +00:00

44 lines
960 B
C

/*
* win_res.h - constants shared between win_res.rc2 and the C code.
*/
#ifndef PUTTY_WIN_RES_H
#define PUTTY_WIN_RES_H
#define IDI_MAINICON 200
#define IDI_CFGICON 201
#define IDD_MAINBOX 102
#define IDD_LOGBOX 110
#define IDD_ABOUTBOX 111
#define IDD_RECONF 112
#define IDD_LICENCEBOX 113
#define IDD_HK_ABSENT 114
#define IDD_HK_WRONG 115
#define IDN_LIST 1001
#define IDN_COPY 1002
#define IDA_ICON 1001
#define IDA_TEXT 1002
#define IDA_LICENCE 1003
#define IDA_WEB 1004
#define IDC_TAB 1001
#define IDC_TABSTATIC1 1002
#define IDC_TABSTATIC2 1003
#define IDC_TABLIST 1004
#define IDC_HELPBTN 1005
#define IDC_ABOUT 1006
#define IDC_HK_ICON 98
#define IDC_HK_TITLE 99
#define IDC_HK_ACCEPT 1001
#define IDC_HK_ONCE 1000
#define IDC_HK_FINGERPRINT 1002
#define ID_CUSTOM_CHMFILE 2000
#define TYPE_CUSTOM_CHMFILE 2000
#endif