⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 dialogs.adm

📁 Dos6.0
💻 ADM
📖 第 1 页 / 共 2 页
字号:

#define dlgTestPrinterTM 16

DIALOG_BOX dlgTestPrinter =
{
  // Dialog Info. X, Y, Width, Height, Help ID, ID of the first focus,
  //    Count of the dialog items, The dialog caption.
  {
    19, 4, 43, 15,
    hidDlgNull,
    tmcNull, dlgTestPrinterTM, NULL
  },

  {
    // wClass, style, Extended Style, ID,
    // X, Y, Width, Height, Accel Pos, Text

    { WC_STATIC, 0, 0, IDD_USER, 2, 1, 13, 1, 0, "Printer Type:" },

    { WC_BUTTON, BS_RADIOBUTTON, WES_TABSTOP | WES_GROUP, IDD_USER + 1, 17,1,23,1, 1, "Generic/TTY Printer" },
    { WC_BUTTON, BS_RADIOBUTTON, WES_TABSTOP, IDD_USER + 2, 17, 2,22,1, 1, "Postscript Printer" },

    { WC_STATIC, 0, 0, IDD_USER + 3, 2, 4, 10, 1, 0, "Test Type:" },

    { WC_BUTTON, BS_RADIOBUTTON, WES_TABSTOP | WES_GROUP, IDD_USER + 4, 17,4,24,1, 1, "7-bit ASCII (32-127)" },
    { WC_BUTTON, BS_RADIOBUTTON, WES_TABSTOP, IDD_USER + 5, 17, 5,24,1, 1, "8-bit ASCII (32-255)" },

    { WC_STATIC, 0, 0, IDD_USER + 6, 2, 7, 13, 1, 0, "Printer Port:" },

    { WC_BUTTON, BS_RADIOBUTTON, WES_TABSTOP | WES_GROUP, IDD_USER + 7, 17,7,8,1, 4, "LPT1" },
    { WC_BUTTON, BS_RADIOBUTTON, WES_TABSTOP, IDD_USER + 8, 17, 8,8,1, 4, "LPT2" },
    { WC_BUTTON, BS_RADIOBUTTON, WES_TABSTOP, IDD_USER + 9, 17, 9,8,1, 4, "LPT3" },
    { WC_BUTTON, BS_RADIOBUTTON, WES_TABSTOP, IDD_USER + 10, 28, 7,8,1, 1, "COM1" },
    { WC_BUTTON, BS_RADIOBUTTON, WES_TABSTOP, IDD_USER + 11, 28, 8,8,1, 2, "COM2" },
    { WC_BUTTON, BS_RADIOBUTTON, WES_TABSTOP, IDD_USER + 12, 28, 9,8,1, 3, "COM3" },
    { WC_BUTTON, BS_RADIOBUTTON, WES_TABSTOP, IDD_USER + 13, 28, 10,8,1, 4, "COM4" },

    { WC_BUTTON, BS_OWNERDRAW, WES_TABSTOP | WES_GROUP | WES_3D, IDOK,  10,12,9,2, 0, "OK" },
    { WC_BUTTON, BS_OWNERDRAW, WES_TABSTOP | WES_GROUP | WES_3D, IDCANCEL,  20, 12, 11, 2, 0, "Cancel" }
  },
};


/*********************************************************************
 * Dialog : dlgCustInfo
 *********************************************************************/

#define dlgCustInfoTM 19

DIALOG_BOX dlgCustInfo =
{
  // Dialog Info. X, Y, Width, Height, Help ID, ID of the first focus,
  //    Count of the dialog items, The dialog caption.
  {
    13, 4, 54, 15,
    hidDlgNull,
    tmcNull, dlgCustInfoTM, NULL
  },

  {
    // wClass, style, Extended Style, ID,
    // X, Y, Width, Height, Accel Pos, Text

    { WC_STATIC, 0, 0, IDD_USER, 17, 1, 20, 1, 0, "Customer Information" },

    /* &Name */
    { WC_STATIC, 0, 0, IDD_USER + 1, 10, 3,  6, 1, 1, "Name: " },
    { WC_EDIT,   0, WES_TABSTOP, IDD_USER + 2, 17, 3, 34, 1, 0, NULL },

    /* &Company Name */
    { WC_STATIC, 0, 0, IDD_USER + 3, 2, 4, 14, 1,  1, "Company Name: " },
    { WC_EDIT,   0, WES_TABSTOP, IDD_USER + 4, 17, 4, 34, 1, 0, NULL },

    /* Address &1 */
    { WC_STATIC, 0, 0, IDD_USER + 5, 6, 5, 10, 1,  8, "Address1: " },
    { WC_EDIT,   0, WES_TABSTOP, IDD_USER + 6, 17, 5, 34, 1, 0, NULL },

    /* Address &2 */
    { WC_STATIC, 0, 0, IDD_USER + 7, 6, 6, 10, 1,  8, "Address2: " },
    { WC_EDIT,   0, WES_TABSTOP, IDD_USER + 8, 17, 6, 34, 1, 0, NULL },

    /* City/ST/&Zip */
    { WC_STATIC, 0, 0, IDD_USER + 9, 3, 7, 13, 1,  9, "City/ST/Zip: " },
    { WC_EDIT,   0, WES_TABSTOP, IDD_USER + 10, 17, 7, 34, 1, 0, NULL },

    /* Country */
    { WC_STATIC, 0, 0, IDD_USER + 11, 7, 8,  9, 1,  5, "Country: " },
    { WC_EDIT,   0, WES_TABSTOP, IDD_USER + 12, 17, 8, 34, 1, 0, NULL },

    /* &Phone */
    { WC_STATIC, 0, 0, IDD_USER + 13, 9, 9,  7, 1,  1, "Phone: " },
    { WC_EDIT,   0, WES_TABSTOP, IDD_USER + 14, 17, 9, 34, 1, 0, NULL },

    /* Co&mments */
    { WC_STATIC, 0, 0, IDD_USER + 15, 6, 10, 10, 1,  3, "Comments: " },
    { WC_EDIT,   0, WES_TABSTOP, IDD_USER + 16, 17, 10, 34, 1, 0, NULL },

    { WC_BUTTON, BS_OWNERDRAW, WES_TABSTOP | WES_GROUP | WES_3D, IDOK,  16,12,9,2, 0, "OK" },
    { WC_BUTTON, BS_OWNERDRAW, WES_TABSTOP | WES_GROUP | WES_3D, IDCANCEL,  27, 12, 11, 2, 0, "Cancel" }
  },
};


/*********************************************************************
 * Dialog : dlgAbout
 *********************************************************************/

#define dlgAboutTM 5

DIALOG_BOX dlgAbout =
{
  // Dialog Info. X, Y, Width, Height, Help ID, ID of the first focus,
  //    Count of the dialog items, The dialog caption.
  {
    16, 7, 48, 10,
    hidDlgNull,
    tmcNull, dlgAboutTM, NULL
  },

  {
    // wClass, style, Extended Style, ID,
    // X, Y, Width, Height, Accel Pos, Text

    { WC_STATIC, 0, 0, IDD_USER + 0, 11, 1, 25, 1, 0, "Microsoft (R) Diagnostics" },
    { WC_STATIC, 0, 0, IDD_USER + 1, 17, 2, 16, 1, 0, "Version 2.01" },
    { WC_STATIC, 0, 0, IDD_USER + 2,  2, 4, 44, 1, 0, "Copyright (C) Microsoft Corporation, 1990-92" },
    { WC_STATIC, 0, 0, IDD_USER + 3, 14, 5, 19, 1, 0, "All Rights Reserved" },

    { WC_BUTTON, BS_OWNERDRAW, WES_TABSTOP | WES_GROUP, IDOK,  20,7,9,2, 0, "OK" },
    { WC_BUTTON, BS_OWNERDRAW, WES_GROUP, IDCANCEL,  20,9,0,2, 0, "Cancel" },
  },
};


/*********************************************************************
 * Dialog : dlgMemoryBlockDisplay
 *********************************************************************/

#define dlgMemoryBlockDisplayTM 6

DIALOG_BOX dlgMemoryBlockDisplay = {
  // Dialog Info. X, Y, Width, Height, Help ID, ID of the first focus,
  //    Count of the dialog items, The dialog caption.
  { 6, 1, 68, 23,
    hidDlgNull,
    tmcNull, dlgMemoryBlockDisplayTM, NULL },
  {

//  wClass, style, Extended Style, ID,
//  X, Y, Width, Height, Accel Pos, Text

    { WC_STATIC, 0, 0, IDD_USER, 2, 1, 17, 1, 2, "Allocated memory:" },
    { WC_LIST, WS_LISTBOX | WS_BORDER | WS_VSCROLL, WES_TABSTOP, IDD_USER + 1, 1, 2, 39, 18, 0, NULL },

    { WC_STATIC, 0, 0, IDD_USER + 2, 43, 1, 11, 1, 1, "Memory map:" },
    { WC_LIST, WS_LISTBOX | WS_BORDER | WS_VSCROLL, WES_TABSTOP, IDD_USER + 3, 42, 2, 25, 18, 0, NULL },

    { WC_BUTTON, BS_OWNERDRAW, WES_TABSTOP | WES_GROUP | WES_3D, IDOK,
        30, 20, 10, 2, 1, "Close" },
    { WC_BUTTON, BS_OWNERDRAW, WES_TABSTOP | WES_GROUP | WES_3D, IDCANCEL,
        30, 22,  0, 2, 1, "Ok" },
   }, 
};


/*********************************************************************
 * Dialog : dlgMemoryBrowser
 *********************************************************************/

#define dlgMemoryBrowserTM 8

DIALOG_BOX dlgMemoryBrowser = {
  // Dialog Info. X, Y, Width, Height, Help ID, ID of the first focus,
  //    Count of the dialog items, The dialog caption.
  { 6, 1, 68, 23,
    hidDlgNull,
    tmcNull, dlgMemoryBrowserTM, NULL },
  {

//  wClass, style, Extended Style, ID,
//  X, Y, Width, Height, Accel Pos, Text

    { WC_STATIC, 0, 0, IDD_USER, 2, 1, 17, 1, 1, "Area to Browse:" },
    { WC_LIST, WS_LISTBOX | WS_BORDER | WS_VSCROLL, WES_TABSTOP, IDD_USER + 1, 1, 2, 39, 16, 0, NULL },

    { WC_STATIC, 0, 0, IDD_USER + 2, 43, 1, 11, 1, 1, "Memory map:" },
    { WC_LIST, WS_LISTBOX | WS_BORDER | WS_VSCROLL, WES_TABSTOP, IDD_USER + 3, 42, 2, 25, 18, 0, NULL },

    { WC_STATIC, 0, 0, IDD_USER + 4, 2, 18, 14, 1, 1, "Search String:" },
    { WC_EDIT,   0, WES_TABSTOP, IDD_USER + 5, 18, 18, 21, 1, 0, NULL },

    { WC_BUTTON, BS_OWNERDRAW, WES_TABSTOP | WES_GROUP | WES_3D, IDOK,      25, 20,  9, 2, 1, "OK" },
    { WC_BUTTON, BS_OWNERDRAW, WES_TABSTOP | WES_GROUP | WES_3D, IDCANCEL,  35, 20, 10, 2, 1, "Close" },
   }, 
};


/*********************************************************************
 * Dialog : dlgViewWhichFile
 *********************************************************************/

#define dlgViewWhichFileTM 4

DIALOG_BOX dlgViewWhichFile = {
  // Dialog Info. X, Y, Width, Height, Help ID, ID of the first focus,
  //    Count of the dialog items, The dialog caption.
  { 1, 6, 78, 12,
    hidDlgNull,
    tmcNull, dlgViewWhichFileTM, NULL },
  {

//  wClass, style, Extended Style, ID,
//  X, Y, Width, Height, Accel Pos, Text

    { WC_STATIC, 0, 0, IDD_USER, 2, 1, 20, 1, 1, "Choose file to view:" },

    { WC_LIST, WS_LISTBOX | WS_BORDER | WS_VSCROLL, WES_TABSTOP, IDD_USER + 1, 1, 2, 76, 7, 0, NULL },

    { WC_BUTTON, BS_OWNERDRAW, WES_TABSTOP | WES_GROUP | WES_3D, IDOK,  29,9,9,2, 0, "OK" },
    { WC_BUTTON, BS_OWNERDRAW, WES_TABSTOP | WES_GROUP | WES_3D, IDCANCEL,  39, 9, 11, 2, 0, "Cancel" }
   }, 
};


/*********************************************************************
 * Dialog : dlgWarnWindowUser
 *********************************************************************/

#define dlgWarnWindowsUserTM 16

DIALOG_BOX dlgWarnWindowsUser = {
  // Dialog Info. X, Y, Width, Height, Help ID, ID of the first focus,
  //    Count of the dialog items, The dialog caption.
  { 7, 1, 67, 22,
    hidDlgNull,
    tmcNull, dlgWarnWindowsUserTM, NULL },
  {

//  wClass, style, Extended Style, ID,
//  X, Y, Width, Height, Accel Pos, Text

    { WC_STATIC, 0, 0, IDD_USER +  0, 17,  1, 34, 1, 0, "You are running Microsoft Windows." },

    { WC_STATIC, 0, 0, IDD_USER +  1,  2,  3, 63, 1, 0, "MSD can only report information specified by its associated" },
    { WC_STATIC, 0, 0, IDD_USER +  2,  2,  4, 63, 1, 0, "Windows Program Information File (.PIF).  Therefore information" },
    { WC_STATIC, 0, 0, IDD_USER +  3,  2,  5, 63, 1, 0, "presented may be less accurate or complete than if MSD is run" },
    { WC_STATIC, 0, 0, IDD_USER +  4,  2,  6, 63, 1, 0, "outside of Windows.  For more accurate information please exit" },
    { WC_STATIC, 0, 0, IDD_USER +  5,  2,  7, 43, 1, 0, "Windows and run MSD from the MS-DOS prompt." },

    { WC_STATIC, 0, 0, IDD_USER +  6,  2,  9, 63, 1, 0, "Some areas may be affected while MSD is run under Windows:" },
    { WC_STATIC, 0, 0, IDD_USER +  7,  2, 10, 63, 1, 0, "Memory values and types will reflect what Windows provides by" },
    { WC_STATIC, 0, 0, IDD_USER +  8,  2, 11, 63, 1, 0, "itself, and through the associated .PIF file; IRQ values may" },
    { WC_STATIC, 0, 0, IDD_USER +  9,  2, 12, 63, 1, 0, "be reported differently; and the visual memory map in Memory," },
    { WC_STATIC, 0, 0, IDD_USER + 10,  2, 13, 63, 1, 0, "Memory Block Display, and Memory Browser may show different" },
    { WC_STATIC, 0, 0, IDD_USER + 11,  2, 14, 63, 1, 0, "results.  Other areas that may be affected include Video," },
    { WC_STATIC, 0, 0, IDD_USER + 12,  2, 15, 46, 1, 0, "OS Version, Mouse, Disk Drives, and COM Ports." },

    { WC_STATIC, 0, 0, IDD_USER + 13, 13, 17, 44, 1, 0, "Choose OK to continue or Cancel to quit MSD." },

    { WC_BUTTON, BS_OWNERDRAW, WES_TABSTOP | WES_GROUP | WES_3D, IDOK,      23, 19,  9, 2, 0, "OK" },
    { WC_BUTTON, BS_OWNERDRAW, WES_TABSTOP | WES_GROUP | WES_3D, IDCANCEL,  34, 19, 11, 2, 0, "Cancel" }
   }, 
};

⌨️ 快捷键说明

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