mirror of
https://git.tartarus.org/simon/putty.git
synced 2025-07-01 11:32:48 -05:00
The Windows host key dialogs now have a `Help' button that should give
appropriate context help, iff the help file is present. (Shame it's prey to `winhelp-crash'.) (I've perpetrated a widening of visibility of `hwnd'; the alternative, putting it into a frontend handle, seemed too likely to cause maintenance trouble if we don't also _use_ that frontend handle everywhere we now use the global `hwnd'.) [originally from svn r5309]
This commit is contained in:
@ -1,8 +1,10 @@
|
||||
/*
|
||||
* winhelp.h - define Windows Help context names for the controls
|
||||
* in the PuTTY config box.
|
||||
* winhelp.h - define Windows Help context names. These match up with
|
||||
* the \cfg{winhelp-topic} directives in the Halibut source.
|
||||
*/
|
||||
|
||||
/* These are used in the cross-platform configuration dialog code. */
|
||||
|
||||
#define HELPCTX(x) P(WINHELP_CTX_ ## x)
|
||||
|
||||
#define WINHELP_CTX_no_help NULL
|
||||
@ -122,3 +124,13 @@
|
||||
#define WINHELP_CTX_ssh_bugs_rsapad2 "ssh.bugs.rsapad2"
|
||||
#define WINHELP_CTX_ssh_bugs_pksessid2 "ssh.bugs.pksessid2"
|
||||
#define WINHELP_CTX_ssh_bugs_rekey2 "ssh.bugs.rekey2"
|
||||
|
||||
/* These are used in Windows-specific bits of the frontend.
|
||||
* We (ab)use "help context identifiers" (dwContextId) to identify them. */
|
||||
|
||||
#define HELPCTXID(x) WINHELP_CTXID_ ## x
|
||||
|
||||
#define WINHELP_CTX_errors_hostkey_absent "errors.hostkey.absent"
|
||||
#define WINHELP_CTXID_errors_hostkey_absent 1
|
||||
#define WINHELP_CTX_errors_hostkey_changed "errors.hostkey.changed"
|
||||
#define WINHELP_CTXID_errors_hostkey_changed 2
|
||||
|
Reference in New Issue
Block a user