alckey.dlg

来自「在C语言中使用汇编语言设计边框范例  .zip」· DLG 代码 · 共 35 行

DLG
35
字号
DLGINCLUDE RCDATA DISCARDABLE
BEGIN
    "ALCKEY.H\0"
END

ABOUTBOX DIALOG 22, 17, 166, 98
STYLE DS_MODALFRAME | WS_CAPTION | WS_SYSMENU
CAPTION "About Sample"
BEGIN
    CTEXT           "Microsoft Windows for Pens", -1, 0, 5, 166, 8
    CTEXT           "ALC/Keyboard Sample", -1, 0, 14, 166, 8
    CTEXT           "Version 1.0 (Pen), 3.1 of Windows", -1, 0, 58, 166, 8
    DEFPUSHBUTTON   "OK", IDOK, 66, 76, 32, 14, WS_GROUP
    CTEXT           "by Cynthia Anderson", 102, 0, 34, 166, 8
    CTEXT           "Microsoft Windows Developer Support", 103, 0, 43, 166, 
                    8
END

ALCDLG DIALOG 6, 18, 343, 196
STYLE DS_MODALFRAME | WS_POPUP | WS_VISIBLE | WS_CAPTION
CAPTION "ALC Settings Dialog"
FONT 8, "MS Sans Serif"
BEGIN
    DEFPUSHBUTTON   "Done", ID_DONE, 264, 167, 71, 25
    LISTBOX         ID_ALCLISTBOX, 11, 5, 114, 160, LBS_MULTIPLESEL | 
                    WS_VSCROLL | WS_TABSTOP
    CONTROL         "", ID_ALCEDIT, "hedit", WS_BORDER | WS_VSCROLL | 
                    WS_TABSTOP | 0x0044, 158, 5, 172, 36
    LTEXT           "Select ALC options, use edit control (above) to input characters you wish to use in ALC_USEBITMAP", 
                    102, 166, 51, 161, 43
    LTEXT           "Input Here will affect only the hedit control on main window, after you've selected your options, hit ""Done"" to return to the main window and test them.", 
                    103, 168, 114, 168, 31
    PUSHBUTTON      "Select Options", ID_SELECT, 178, 168, 71, 24
END

⌨️ 快捷键说明

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