X-Git-Url: https://git.distorted.org.uk/u/mdw/putty/blobdiff_plain/c44bf5bd7bf680c21356864ac5ae72ab29e55ce6..f85e6f6edb2c9415bc10bd2015479d72ea8c5ae2:/winstuff.h diff --git a/winstuff.h b/winstuff.h index 33b604ff..37c66bba 100644 --- a/winstuff.h +++ b/winstuff.h @@ -23,11 +23,15 @@ struct FontSpec { int charset; }; +#define BOXFLAGS DLGWINDOWEXTRA +#define BOXRESULT DLGWINDOWEXTRA + 4 +#define DF_END 0x0001 + /* * Global variables. Most modules declare these `extern', but * window.c will do `#define PUTTY_DO_GLOBALS' before including this * module, and so will get them properly defined. - */ +*/ #ifndef GLOBAL #ifdef PUTTY_DO_GLOBALS #define GLOBAL @@ -308,6 +312,17 @@ void modal_about_box(HWND hwnd); void show_help(HWND hwnd); /* + * Exports from winmisc.c. + */ + +int SaneDialogBox(HINSTANCE hinst, + LPCTSTR tmpl, + HWND hwndparent, + DLGPROC lpDialogFunc); + +void SaneEndDialog(HWND hwnd, int ret); + +/* * Exports from sizetip.c. */ void UpdateSizeTip(HWND src, int cx, int cy);