home *** CD-ROM | disk | FTP | other *** search
/ Tricks of the Windows Gam…ming Gurus (2nd Edition) / Disc2.iso / msdn_vcb / samples / vc98 / sdk / dbmsg / mapi / peer.xp / xpresrc.dlg < prev    next >
C/C++ Source or Header  |  1996-04-11  |  6KB  |  123 lines

  1. // Fonts to use in dialogs
  2.  
  3. #ifdef WIN32
  4. #define SHELL_FONT "MS Shell Dlg"
  5. #define SHELL_FONT_SIZE 8
  6. #else
  7. #define SHELL_FONT "MS Sans Serif"
  8. #define SHELL_FONT_SIZE 8
  9. #endif
  10.  
  11. GeneralPage DIALOG 3, 15, 228, 128
  12. STYLE DS_MODALFRAME | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU
  13. CAPTION "General"
  14. FONT SHELL_FONT_SIZE, SHELL_FONT
  15. BEGIN
  16.     CONTROL         "Log &Events", IDC_LOG_EVENTS, "Button", BS_AUTOCHECKBOX | 
  17.                     WS_TABSTOP, 15, 10, 48, 10
  18.     CONTROL         "&Peer to Peer Enabled", IDC_PEER, "Button", 
  19.                     BS_AUTOCHECKBOX | WS_GROUP | WS_TABSTOP, 15, 25, 87, 10
  20.     CONTROL         "Logon &UI Always", IDC_LOGON_UI, "Button", 
  21.                     BS_AUTOCHECKBOX | WS_TABSTOP, 15, 40, 66, 10
  22.     CONTROL         "&Save Dialog Settings", IDC_SAVE_DIALOG, "Button", 
  23.                     BS_AUTOCHECKBOX | WS_TABSTOP, 15, 55, 80, 10
  24.     CONTROL         "WGAP &Filename:", IDT_WGAP_FNAME, "Static", WS_GROUP, 27, 80, 62, 8
  25.     CONTROL         "", IDE_WGAP_FNAME, "Edit", ES_AUTOHSCROLL | WS_BORDER | 
  26.                     WS_TABSTOP, 103, 78, 107, 12
  27.     CONTROL         "WGAP Di&rectory:", IDT_WGAP_DIR, "Static", WS_GROUP, 27, 95, 62, 
  28.                     8
  29.     CONTROL         "", IDE_WGAP_DIR, "Edit", ES_AUTOHSCROLL | WS_BORDER | 
  30.                     WS_TABSTOP, 103, 93, 107, 12
  31. END
  32.  
  33. PeerPage DIALOG 6, 18, 212, 121
  34. STYLE DS_MODALFRAME | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU
  35. CAPTION "Peer to Peer"
  36. FONT SHELL_FONT_SIZE, SHELL_FONT
  37. BEGIN
  38.     CONTROL         "&Display Name:", IDT_DISPLAY, "Static", WS_GROUP, 15, 10, 50, 8
  39.     CONTROL         "", IDE_DISPLAY, "Edit", ES_AUTOHSCROLL | WS_BORDER | 
  40.                     WS_TABSTOP, 94, 8, 107, 12
  41.     CONTROL         "EMail &Type:", IDT_EMAIL_TYPE, "Static", WS_GROUP, 15, 25, 41, 8
  42.     CONTROL         "", IDE_EMAIL_TYPE, "Edit", ES_UPPERCASE | 
  43.                     ES_AUTOHSCROLL | WS_BORDER | WS_TABSTOP, 94, 23, 107, 12
  44.     CONTROL         "EMail &Address:", IDT_EMAIL_ADDR, "Static", WS_GROUP, 15, 40, 50, 8
  45.     CONTROL         "", IDE_EMAIL_ADDR, "Edit", ES_AUTOHSCROLL | WS_BORDER | 
  46.                     WS_TABSTOP, 94, 38, 107, 12
  47.     CONTROL         "&Inbound Msg Dir:", IDT_IN_DIR, "Static", WS_GROUP, 15, 55, 61, 
  48.                     8
  49.     CONTROL         "", IDE_IN_DIR, "Edit", ES_AUTOHSCROLL | WS_BORDER | 
  50.                     WS_TABSTOP, 94, 53, 107, 12
  51.     CONTROL         "&Outbound Msg Dir:", IDT_OUT_DIR, "Static", WS_GROUP, 15, 70, 62, 
  52.                     8
  53.     CONTROL         "", IDE_OUT_DIR, "Edit", ES_AUTOHSCROLL | WS_BORDER | 
  54.                     WS_TABSTOP, 94, 68, 107, 12
  55. END
  56.  
  57. LoggingPage DIALOG 6, 18, 232, 92
  58. STYLE DS_MODALFRAME | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU
  59. CAPTION "Logging"
  60. FONT SHELL_FONT_SIZE, SHELL_FONT
  61. BEGIN
  62.     CONTROL         "Logfile &Name:", IDT_LOG_NAME, "Static", WS_GROUP, 15, 10, 50, 8
  63.     CONTROL         "", IDE_LOG_NAME, "Edit", ES_AUTOHSCROLL | WS_BORDER | 
  64.                     WS_TABSTOP, 94, 8, 101, 12
  65.     CONTROL         "Log &High Water Mark:", IDT_LOG_HIGH, "Static", WS_GROUP, 15, 24, 
  66.                     73, 8
  67.     CONTROL         "", IDE_LOG_HIGH, "Edit", ES_AUTOHSCROLL | WS_BORDER | 
  68.                     WS_TABSTOP, 94, 22, 45, 12
  69.     CONTROL         "Log &Low Water Mark:", IDT_LOG_LOW, "Static", WS_GROUP, 15, 38, 
  70.                     76, 8
  71.     CONTROL         "", IDE_LOG_LOW, "Edit", ES_AUTOHSCROLL | WS_BORDER | 
  72.                     WS_TABSTOP, 94, 36, 45, 12
  73. END
  74.  
  75.  
  76. PerMsgOpt DIALOG 76, 44, 149, 64
  77. STYLE DS_MODALFRAME | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU
  78. CAPTION "Per-Message Defer"
  79. FONT SHELL_FONT_SIZE, SHELL_FONT
  80. BEGIN
  81.     CONTROL         "&Defer until next non-deferred message.", 
  82.                     IDC_PER_MSG_DEFER, "Button", BS_AUTOCHECKBOX | WS_GROUP | 
  83.                     WS_TABSTOP, 8, 12, 139, 10
  84. END
  85.  
  86.  
  87. PerRecipOpt DIALOG 76, 44, 149, 64
  88. STYLE DS_MODALFRAME | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU
  89. CAPTION "Per-Recipient Defer"
  90. FONT SHELL_FONT_SIZE, SHELL_FONT
  91. BEGIN
  92.     CONTROL         "&Defer until next non-deferred message.", 
  93.                     IDC_PER_RECIP_DEFER, "Button", BS_AUTOCHECKBOX | WS_GROUP | 
  94.                     WS_TABSTOP, 8, 12, 139, 10
  95. END
  96.  
  97.  
  98. SampleTransportWizard DIALOG DISCARDABLE  0, 0, 200, 150
  99. STYLE DS_MODALFRAME | 4 | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU
  100. CAPTION "Sample Transport Configuration Wizard"
  101. FONT SHELL_FONT_SIZE, SHELL_FONT
  102. BEGIN
  103.     LTEXT           "Enter the full name you wish to use for sending mail. This is the name that will appear in the 'From:' box on all outgoing mail.",
  104.                     IDC_NameText,0,0,170,40
  105.     LTEXT           "Display Name:",IDC_NameLbl,0,58,40,10
  106.     EDITTEXT        IDC_NameEdit,40,56,110,12,ES_AUTOHSCROLL
  107.  
  108.     LTEXT           "The Microsoft Peer to Peer transport requires an address type be specified for configuration. This is the address type that the transport will be responsible for delivering.",
  109.                     IDC_TypeText,0,0,170,40
  110.     LTEXT           "Address Type:",IDC_TypeLbl,0,58,40,10
  111.     EDITTEXT        IDC_TypeEdit,40,56,110,12,ES_UPPERCASE | ES_AUTOHSCROLL
  112.  
  113.     LTEXT           "The Microsoft Peer to Peer Transport requires a UNC pathname to a read/write shared directory. This directory will serve as your inbox for message delivery. The directory name should be the same directory specified in your Peer to Peer email address.",
  114.                     IDC_UNCText,0,0,170,40
  115.     LTEXT           "Email Address:",IDC_UNCLbl,0,58,40,10
  116.     EDITTEXT        IDC_UNCEdit,40,56,110,12,ES_AUTOHSCROLL
  117.  
  118.     LTEXT           "If the email address UNC points to a directory on your local machine, then enter the full path to the shared directory (ig. C:\\MAPI\\INBOX).",
  119.                     IDC_PathText,0,0,170,40
  120.     LTEXT           "Path:",IDC_PathLbl,0,58,40,10
  121.     EDITTEXT        IDC_PathEdit,40,56,110,12,ES_AUTOHSCROLL
  122. END
  123.