📄 general.rc
字号:
#include <windows.h>
#include "General.hrc"
GeneralPage DIALOG DISCARDABLE 0, 0, 230, 231
STYLE WS_CHILD | WS_VISIBLE | WS_CAPTION
CAPTION "General"
FONT 8, "MS Sans Serif"
BEGIN
LTEXT "Use this page to set general server options.\n\n",
IDC_STATIC,7,7,216,12
LTEXT "These options determine the URL used to access the website. If this website will be accessed from other computers over the Internet or an Intranet using a hostname or alias, an appropriate DNS entry must exist.",
IDC_STATIC,7,20,216,34
LTEXT "The administrator's e-mail address is appended to error messages or server-side includes as the contact person for the website.",
IDC_STATIC,7,57,216,17
GROUPBOX "Access Method",IDC_STATIC,7,108,216,49
CONTROL "From the local machine only",IDC_LOCAL,"Button",
BS_AUTORADIOBUTTON,13,118,103,10
CONTROL "Remotely using an IP Address",IDC_REMOTEIP,"Button",
BS_AUTORADIOBUTTON,13,130,110,10
CONTROL "Remotely using a hostname",IDC_REMOTEHOST,"Button",
BS_AUTORADIOBUTTON,13,142,105,10
CONTROL "Enable &SSL",IDC_SSL,"Button",BS_AUTOCHECKBOX |
WS_TABSTOP,124,118,53,10
CONTROL "&Remote Administration",IDC_REMOTE,"Button",
BS_AUTOCHECKBOX | WS_TABSTOP,124,130,86,10
CONTROL "&Verbose Error-Messages",IDC_VERBOSE,"Button",
BS_AUTOCHECKBOX | WS_TABSTOP,124,142,93,10
GROUPBOX "Server TCP/IP Settings",IDC_STATIC,7,160,104,64
LTEXT "Hostname",IDC_STATIC,14,170,33,8
LTEXT "Port",IDC_STATIC,14,195,28,8
EDITTEXT IDC_HOST,13,178,92,14,ES_AUTOHSCROLL
EDITTEXT IDC_PORT,13,203,92,14,ES_AUTOHSCROLL | ES_NUMBER
GROUPBOX "Server URL",IDC_STATIC,118,160,105,23
LTEXT "http://www.foo.org",IDC_URL,124,169,93,8,NOT WS_GROUP
GROUPBOX "Administration",IDC_STATIC,118,185,105,39
EDITTEXT IDC_ADMIN,124,203,93,14,ES_AUTOHSCROLL
LTEXT "Administrator's E-mail",IDC_STATIC,125,195,73,8
EDITTEXT IDC_INSTALLDIR,7,91,147,14,ES_AUTOHSCROLL | WS_DISABLED
EDITTEXT IDC_OS,160,91,63,14,ES_AUTOHSCROLL | WS_DISABLED
LTEXT "Installation Directory",IDC_STATIC,8,82,64,8
LTEXT "Operating System",IDC_STATIC,160,82,56,8
END
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -