diff options
author | Přemysl Eric Janouch <p@janouch.name> | 2023-07-27 01:27:24 +0200 |
---|---|---|
committer | Přemysl Eric Janouch <p@janouch.name> | 2023-07-27 01:28:52 +0200 |
commit | 3e37efd9cd7d03b7f3a8400ceeea507b4ee54b24 (patch) | |
tree | b789f287034ce77adcf25f91649aeeee0334a057 /xW/xW.rc | |
parent | efb25b8aae0f4768d5b14f4688b2cb0a9eab80af (diff) | |
download | xK-3e37efd9cd7d03b7f3a8400ceeea507b4ee54b24.tar.gz xK-3e37efd9cd7d03b7f3a8400ceeea507b4ee54b24.tar.xz xK-3e37efd9cd7d03b7f3a8400ceeea507b4ee54b24.zip |
xW: show a connect dialog when run without args
Diffstat (limited to 'xW/xW.rc')
-rw-r--r-- | xW/xW.rc | 21 |
1 files changed, 21 insertions, 0 deletions
@@ -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 |