custcntl.rc

来自「这一系列是我平时收集的pascal深入核心编程」· RC 代码 · 共 41 行

RC
41
字号
// Define
 #define IDI_CUSTCNTL 102
 #define IDD_CUSTCNTL 103
 #define IDC_LEGEND0 1000
 #define IDC_LEGEND1 1001
 #define IDC_LEGEND2 1002
 #define IDC_LEGEND3 1003
 #define IDC_LEGEND4 1004
 #define IDC_BARGRAPH 1005
 #define IDC_USER 1006
 #define IDC_GDI 1007
 #define IDC_KERNEL 1008
 #define IDC_APILABEL 1009
 #define IDC_BUTTON1 1010
 #define IDC_STATIC -1


// Icon
 IDI_CUSTCNTL ICON DISCARDABLE "CUSTCNTL.ICO"


// Dialog box
 IDD_CUSTCNTL DIALOG DISCARDABLE 0x8000, 5, 272, 154
   STYLE WS_MINIMIZEBOX | WS_VISIBLE | WS_CAPTION | WS_SYSMENU
   CAPTION "Custom Controls"
   FONT 8, "MS Sans Serif"
 BEGIN
   LTEXT "&Number of User API Functions",IDC_APILABEL,12,59,37,40, NOT WS_GROUP
   CONTROL "",IDC_BARGRAPH,"BarGraph",WS_TABSTOP,53,20,107,111
   CTEXT "Windows Version",IDC_STATIC,53,135,109,9,NOT WS_GROUP
   CONTROL "Windows 1.04",IDC_LEGEND0,"Legend",0x3,187,18,71,14
   CONTROL "Windows 2.11",IDC_LEGEND1,"Legend",0x3,187,32,71,14
   CONTROL "Windows 3.0",IDC_LEGEND2,"Legend",0x3,187,46,71,14
   CONTROL "Windows 3.1",IDC_LEGEND3,"Legend",0x3,187,60,71,14
   CONTROL "Windows 95",IDC_LEGEND4,"Legend",0x3,187,73,71,14
   GROUPBOX "Legend",IDC_STATIC,181,6,83,87
   GROUPBOX "&Module",IDC_STATIC,181,98,83,48
   CONTROL "&User",IDC_USER,"Button",BS_AUTORADIOBUTTON | WS_GROUP,191,110,32,10
   CONTROL "&GDI",IDC_GDI,"Button",BS_AUTORADIOBUTTON,191,121,31,10
   CONTROL "&Kernel",IDC_KERNEL,"Button",BS_AUTORADIOBUTTON,191,132,35,10
 END

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?