aboutsummaryrefslogtreecommitdiff
path: root/xW/xW.rc
diff options
context:
space:
mode:
Diffstat (limited to 'xW/xW.rc')
-rw-r--r--xW/xW.rc21
1 files changed, 21 insertions, 0 deletions
diff --git a/xW/xW.rc b/xW/xW.rc
index 2948a21..44d1aee 100644
--- a/xW/xW.rc
+++ b/xW/xW.rc
@@ -31,6 +31,27 @@ BEGIN
#endif
END
+// https://devblogs.microsoft.com/oldnewthing/20050204-00/?p=36523
+// https://devblogs.microsoft.com/oldnewthing/20050207-00/?p=36513
+//
+// Note that this is still not the right font to use in newest Windows,
+// that would be 9pt Segoe UI, as described in:
+// https://learn.microsoft.com/en-us/windows/win32/uxguide/vis-fonts
+// or even better yet, NONCLIENTMETRICS::lfMessageFont.
+IDD_CONNECT DIALOGEX 0, 0, 150, 64
+STYLE DS_SHELLFONT | DS_MODALFRAME | DS_CENTER \
+ | WS_POPUP | WS_CAPTION | WS_SYSMENU
+CAPTION "Connect to Relay"
+FONT 8, "MS Shell Dlg", 400 /*FW_NORMAL*/, 0 /*FALSE*/, 0x1 /*DEFAULT_CHARSET*/
+BEGIN
+ LTEXT "&Host:", IDC_STATIC, 7, 10, 18, 8
+ EDITTEXT IDC_HOST, 39, 7, 104, 14, ES_AUTOHSCROLL
+ LTEXT "&Port:", IDC_STATIC, 7, 28, 18, 8
+ EDITTEXT IDC_PORT, 39, 25, 104, 14, ES_AUTOHSCROLL
+ DEFPUSHBUTTON "&Connect", IDOK, 39, 43, 50, 14
+ PUSHBUTTON "E&xit", IDCANCEL, 93, 43, 50, 14
+END
+
VS_VERSION_INFO VERSIONINFO
FILEVERSION PROJECT_MAJOR, PROJECT_MINOR, PROJECT_PATCH, PROJECT_TWEAK
PRODUCTVERSION PROJECT_MAJOR, PROJECT_MINOR, PROJECT_PATCH, PROJECT_TWEAK