home *** CD-ROM | disk | FTP | other *** search
/ Tricks of the Windows Gam…ming Gurus (2nd Edition) / Disc2.iso / vc98 / mfc / include / afxctl.rc < prev    next >
Text File  |  1998-06-16  |  11KB  |  285 lines

  1. // This is a part of the Microsoft Foundation Classes C++ library.
  2. // Copyright (C) 1992-1998 Microsoft Corporation
  3. // All rights reserved.
  4. //
  5. // This source code is only intended as a supplement to the
  6. // Microsoft Foundation Classes Reference and related
  7. // electronic documentation provided with the library.
  8. // See these sources for detailed information regarding the
  9. // Microsoft Foundation Classes product.
  10.  
  11. #ifndef __AFXCTL_RC__
  12. #define __AFXCTL_RC__
  13.  
  14. #ifndef __AFXRES_H__
  15.     #include <afxres.h>
  16. #endif
  17.  
  18. #ifdef APSTUDIO_INVOKED
  19. // This will prevent the VC++ Resource Editor user from saving this file
  20. 1 TEXTINCLUDE DISCARDABLE
  21. BEGIN
  22. "< Cannot change standard MFC resources! >\0"
  23. END
  24. #endif    // APSTUDIO_INVOKED
  25.  
  26. #ifndef _AFXDLL
  27.  
  28. /////////////////////////////////////////////////////////////////////////////
  29. // OLE Control Resources
  30.  
  31. #ifndef _AFX_NO_STOCKPPG_RESOURCES
  32. /////////////////////////////////////////////////////////////////////////////
  33. //
  34. // Bitmap
  35. //
  36.  
  37. AFX_IDB_TRUETYPE        BITMAP  DISCARDABLE     "RES\\TRUETYPE.BMP"
  38.  
  39. /////////////////////////////////////////////////////////////////////////////
  40. //
  41. // Dialog
  42. //
  43.  
  44. AFX_IDD_PROPPAGE_FONT DIALOG DISCARDABLE  13, 54, 250, 110
  45. STYLE WS_CHILD | 0x4
  46. FONT 8, "MS Shell Dlg"
  47. BEGIN
  48.     LTEXT           "Property &Name:",IDC_STATIC,3,5,61,8
  49.     COMBOBOX        AFX_IDC_FONTPROP,65,3,100,71,CBS_DROPDOWNLIST | CBS_SORT |
  50.                     WS_VSCROLL | WS_TABSTOP
  51.     LTEXT           "&Font:",IDC_STATIC,3,19,91,8
  52.     COMBOBOX        AFX_IDC_FONTNAMES,3,29,91,77,CBS_SIMPLE |
  53.                     CBS_OWNERDRAWFIXED | CBS_AUTOHSCROLL | CBS_SORT |
  54.                     CBS_HASSTRINGS | CBS_DISABLENOSCROLL | WS_VSCROLL |
  55.                     WS_TABSTOP
  56.     LTEXT           "Font St&yle:",IDC_STATIC,102,19,53,8
  57.     COMBOBOX        AFX_IDC_FONTSTYLES,104,29,53,53,CBS_DROPDOWNLIST |
  58.                     CBS_DISABLENOSCROLL | WS_VSCROLL | WS_TABSTOP
  59.     LTEXT           "&Size:",IDC_STATIC,167,19,40,8
  60.     COMBOBOX        AFX_IDC_FONTSIZES,167,29,36,53,CBS_DROPDOWN | CBS_SORT |
  61.                     CBS_DISABLENOSCROLL | WS_VSCROLL | WS_TABSTOP
  62.     GROUPBOX        "Effects",IDC_STATIC,104,44,142,24,WS_GROUP
  63.     CONTROL         "Stri&keout",AFX_IDC_STRIKEOUT,"Button",BS_AUTOCHECKBOX |
  64.                     WS_TABSTOP,109,55,65,10
  65.     CONTROL         "&Underline",AFX_IDC_UNDERLINE,"Button",BS_AUTOCHECKBOX |
  66.                     WS_TABSTOP,175,55,65,10
  67.     GROUPBOX        "Sample",IDC_STATIC,104,71,142,36,WS_GROUP
  68.     CTEXT           "AaBbYyZz",AFX_IDC_SAMPLEBOX,110,80,130,22,SS_NOPREFIX |
  69.                     NOT WS_VISIBLE
  70. END
  71.  
  72. AFX_IDD_PROPPAGE_COLOR DIALOG DISCARDABLE  0, 0, 250, 62
  73. STYLE WS_CHILD | 0x4
  74. FONT 8, "MS Shell Dlg"
  75. BEGIN
  76.     LTEXT           "Property &Name:",IDC_STATIC,3,3,100,8
  77.     COMBOBOX        AFX_IDC_COLORPROP,3,13,100,54,CBS_DROPDOWNLIST |
  78.                     CBS_SORT | WS_VSCROLL | WS_TABSTOP
  79.     LTEXT           "System &Color:",IDC_STATIC,3,29,100,8
  80.     COMBOBOX        AFX_IDC_SYSTEMCOLORS,3,39,100,54,CBS_DROPDOWNLIST |
  81.                     CBS_SORT | WS_VSCROLL | WS_TABSTOP
  82.     CONTROL         "",AFX_IDC_COLOR_BLACK,"Button",BS_OWNERDRAW | WS_GROUP |
  83.                     WS_TABSTOP,118,4,15,11
  84.     CONTROL         "",AFX_IDC_COLOR_BLUE,"Button",BS_OWNERDRAW,138,4,15,11
  85.     CONTROL         "",AFX_IDC_COLOR_CYAN,"Button",BS_OWNERDRAW,158,4,15,11
  86.     CONTROL         "",AFX_IDC_COLOR_DARKBLUE,"Button",BS_OWNERDRAW,178,4,15,
  87.                     11
  88.     CONTROL         "",AFX_IDC_COLOR_DARKCYAN,"Button",BS_OWNERDRAW,118,18,
  89.                     15,11
  90.     CONTROL         "",AFX_IDC_COLOR_DARKGREEN,"Button",BS_OWNERDRAW,138,18,
  91.                     15,11
  92.     CONTROL         "",AFX_IDC_COLOR_DARKMAGENTA,"Button",BS_OWNERDRAW,158,
  93.                     18,15,11
  94.     CONTROL         "",AFX_IDC_COLOR_GRAY,"Button",BS_OWNERDRAW,178,18,15,11
  95.     CONTROL         "",AFX_IDC_COLOR_DARKRED,"Button",BS_OWNERDRAW,118,32,15,
  96.                     11
  97.     CONTROL         "",AFX_IDC_COLOR_GREEN,"Button",BS_OWNERDRAW,138,32,15,
  98.                     11
  99.     CONTROL         "",AFX_IDC_COLOR_LIGHTBROWN,"Button",BS_OWNERDRAW,158,32,
  100.                     15,11
  101.     CONTROL         "",AFX_IDC_COLOR_LIGHTGRAY,"Button",BS_OWNERDRAW,178,32,
  102.                     15,11
  103.     CONTROL         "",AFX_IDC_COLOR_MAGENTA,"Button",BS_OWNERDRAW,118,46,15,
  104.                     11
  105.     CONTROL         "",AFX_IDC_COLOR_RED,"Button",BS_OWNERDRAW,138,46,15,11
  106.     CONTROL         "",AFX_IDC_COLOR_WHITE,"Button",BS_OWNERDRAW,158,46,15,
  107.                     11
  108.     CONTROL         "",AFX_IDC_COLOR_YELLOW,"Button",BS_OWNERDRAW,178,46,15,
  109.                     11
  110. END
  111.  
  112. AFX_IDD_PROPPAGE_PICTURE DIALOG DISCARDABLE  0, 0, 250, 62
  113. STYLE WS_CHILD | 0x4
  114. FONT 8, "MS Shell Dlg"
  115. BEGIN
  116.     LTEXT           "Property &Name:",IDC_STATIC,3,3,100,8
  117.     COMBOBOX        AFX_IDC_PROPNAME,3,13,100,30,CBS_DROPDOWNLIST | CBS_SORT |
  118.                     WS_VSCROLL | WS_TABSTOP
  119.     PUSHBUTTON      "&Browse...",AFX_IDC_BROWSE,3,35,54,14
  120.     PUSHBUTTON      "&Clear",AFX_IDC_CLEAR,61,35,54,14
  121.     RTEXT           "Preview:",IDC_STATIC,107,3,42,16
  122.     CONTROL         "",AFX_IDC_PICTURE,"Static",SS_BLACKFRAME,151,4,93,54
  123. END
  124.  
  125. /////////////////////////////////////////////////////////////////////////////
  126. //
  127. // Dialog Info
  128. //
  129.  
  130. AFX_IDD_PROPPAGE_FONT DLGINIT
  131. BEGIN
  132.     1002, 0x403, 12, 0
  133. 0x6f42, 0x646c, 0x4920, 0x6174, 0x696c, 0x0063,
  134.     0
  135. END
  136.  
  137. /////////////////////////////////////////////////////////////////////////////
  138. //
  139. // String Table
  140. //
  141.  
  142. STRINGTABLE DISCARDABLE
  143. BEGIN
  144.     AFX_IDS_PROPPAGE_UNKNOWN "(Unknown)"
  145.     AFX_IDS_COLOR_DESKTOP   "Desktop"
  146.     AFX_IDS_COLOR_APPWORKSPACE "Application Workspace"
  147.     AFX_IDS_COLOR_WNDBACKGND "Window Background"
  148.     AFX_IDS_COLOR_WNDTEXT   "Window Text"
  149.     AFX_IDS_COLOR_MENUBAR   "Menu Bar"
  150.     AFX_IDS_COLOR_MENUTEXT  "Menu Text"
  151.     AFX_IDS_COLOR_ACTIVEBAR "Active Title Bar"
  152.     AFX_IDS_COLOR_INACTIVEBAR "Inactive Title Bar"
  153.     AFX_IDS_COLOR_ACTIVETEXT "Active Title Bar Text"
  154.     AFX_IDS_COLOR_INACTIVETEXT "Inactive Title Bar Text"
  155.     AFX_IDS_COLOR_ACTIVEBORDER "Active Border"
  156.     AFX_IDS_COLOR_INACTIVEBORDER "Inactive Border"
  157. END
  158. #endif // !_AFX_NO_STOCKPPG_RESOURCES
  159.  
  160. STRINGTABLE DISCARDABLE
  161. BEGIN
  162. #ifndef _AFX_NO_STOCKPPG_RESOURCES
  163.     AFX_IDS_COLOR_WNDFRAME  "Window Frame"
  164.     AFX_IDS_COLOR_SCROLLBARS "Scroll Bars"
  165.     AFX_IDS_COLOR_BTNFACE   "Button Face"
  166.     AFX_IDS_COLOR_BTNSHADOW "Button Shadow"
  167.     AFX_IDS_COLOR_BTNTEXT   "Button Text"
  168.     AFX_IDS_COLOR_BTNHIGHLIGHT "Button Highlight"
  169.     AFX_IDS_COLOR_DISABLEDTEXT "Disabled Text"
  170.     AFX_IDS_COLOR_HIGHLIGHT "Highlight"
  171.     AFX_IDS_COLOR_HIGHLIGHTTEXT "Highlighted Text"
  172.     AFX_IDS_REGULAR         "Regular"
  173.     AFX_IDS_BOLD            "Bold"
  174.     AFX_IDS_ITALIC          "Italic"
  175.     AFX_IDS_BOLDITALIC      "Bold Italic"
  176.     AFX_IDS_SAMPLETEXT      "AaBbYyZz"
  177. #endif // !_AFX_NO_STOCKPPG_RESOURCES
  178.     AFX_IDS_DISPLAYSTRING_FONT "(Font)"
  179.     AFX_IDS_DISPLAYSTRING_COLOR "(Color)"
  180. END
  181.  
  182. STRINGTABLE DISCARDABLE
  183. BEGIN
  184.     AFX_IDS_DISPLAYSTRING_PICTURE "(Picture - %s)"
  185. #ifndef _AFX_NO_STOCKPPG_RESOURCES
  186.     AFX_IDS_PICTUREFILTER   "All Picture Types|*.bmp;*.cur;*.dib;*.emf;*.ico;*.wmf|Bitmaps (*.bmp;*.dib)|*.bmp;*.dib|Icons/Cursors (*.ico;*.cur)|*.ico;*.cur|Metafiles (*.wmf;*.emf)|*.wmf;*.emf|All files (*.*)|*.*||"
  187. #endif // !_AFX_NO_STOCKPPG_RESOURCES
  188.     AFX_IDS_PICTYPE_UNKNOWN "Unknown"
  189.     AFX_IDS_PICTYPE_NONE    "None"
  190.     AFX_IDS_PICTYPE_BITMAP  "Bitmap"
  191.     AFX_IDS_PICTYPE_METAFILE "Metafile"
  192.     AFX_IDS_PICTYPE_ICON    "Icon"
  193. #ifndef _AFX_NO_STOCKPPG_RESOURCES
  194.     AFX_IDS_COLOR_PPG       "Color Property Page"
  195.     AFX_IDS_COLOR_PPG_CAPTION "Colors"
  196.     AFX_IDS_FONT_PPG        "Font Property Page"
  197.     AFX_IDS_FONT_PPG_CAPTION "Fonts"
  198.     AFX_IDS_PICTURE_PPG     "Picture Property Page"
  199.     AFX_IDS_PICTURE_PPG_CAPTION "Pictures"
  200. #endif // !_AFX_NO_STOCKPPG_RESOURCES
  201.     AFX_IDS_BORDERSTYLE_0   "0 - None"
  202.     AFX_IDS_BORDERSTYLE_1   "1 - Fixed Single"
  203. END
  204.  
  205. STRINGTABLE DISCARDABLE
  206. BEGIN
  207.     AFX_IDS_VERB_EDIT       "&Edit"
  208.     AFX_IDS_VERB_PROPERTIES "&Properties..."
  209. END
  210.  
  211. #ifndef _AFX_NO_STOCKPPG_RESOURCES
  212. STRINGTABLE DISCARDABLE
  213. BEGIN
  214.     AFX_IDP_PICTURECANTOPEN "Unable to open the picture file %1. The file may not exist, or may not be readable."
  215.     AFX_IDP_PICTURECANTLOAD "Unable to load the picture file %1. The file may have an invalid format."
  216.     AFX_IDP_PICTURETOOLARGE "Unable to load the picture file %1. The file is too large to fit in memory."
  217.     AFX_IDP_PICTUREREADFAILED
  218.                             "Unable to load the picture file %1. Unexplained read failure."
  219. END
  220.  
  221. STRINGTABLE DISCARDABLE
  222. BEGIN
  223.     AFX_IDS_PICTUREBROWSETITLE "Browse Pictures"
  224. END
  225. #endif // !_AFX_NO_STOCKPPG_RESOURCES
  226.  
  227. #ifndef _AFX_NO_CTLERROR_RESOURCES
  228. STRINGTABLE DISCARDABLE
  229. BEGIN
  230.     AFX_IDP_E_ILLEGALFUNCTIONCALL "Illegal function call"
  231.     AFX_IDP_E_OVERFLOW      "Overflow"
  232.     AFX_IDP_E_OUTOFMEMORY   "Out of memory"
  233.     AFX_IDP_E_DIVISIONBYZERO "Division by zero"
  234.     AFX_IDP_E_OUTOFSTRINGSPACE "Out of string space"
  235.     AFX_IDP_E_OUTOFSTACKSPACE "Out of stack space"
  236.     AFX_IDP_E_BADFILENAMEORNUMBER "Bad file name or number"
  237.     AFX_IDP_E_FILENOTFOUND  "File not found"
  238.     AFX_IDP_E_BADFILEMODE   "Bad file mode"
  239.     AFX_IDP_E_FILEALREADYOPEN "File already open"
  240.     AFX_IDP_E_DEVICEIOERROR "Device I/O error"
  241.     AFX_IDP_E_FILEALREADYEXISTS "File already exists"
  242.     AFX_IDP_E_BADRECORDLENGTH "Bad record length"
  243.     AFX_IDP_E_DISKFULL      "Disk full"
  244.     AFX_IDP_E_BADRECORDNUMBER "Bad record number"
  245.     AFX_IDP_E_BADFILENAME   "Bad file name"
  246. END
  247.  
  248. STRINGTABLE DISCARDABLE
  249. BEGIN
  250.     AFX_IDP_E_TOOMANYFILES  "Too many files"
  251.     AFX_IDP_E_DEVICEUNAVAILABLE "Device unavailable"
  252.     AFX_IDP_E_PERMISSIONDENIED "Permission denied"
  253.     AFX_IDP_E_DISKNOTREADY  "Disk not ready"
  254.     AFX_IDP_E_PATHFILEACCESSERROR "Path/File access error"
  255.     AFX_IDP_E_PATHNOTFOUND  "Path not found"
  256.     AFX_IDP_E_INVALIDPATTERNSTRING "Invalid pattern string"
  257.     AFX_IDP_E_INVALIDUSEOFNULL "Invalid use of null"
  258.     AFX_IDP_E_INVALIDFILEFORMAT "Invalid file format"
  259.     AFX_IDP_E_INVALIDPROPERTYVALUE "Invalid property value"
  260.     AFX_IDP_E_INVALIDPROPERTYARRAYINDEX "Invalid array index"
  261.     AFX_IDP_E_SETNOTSUPPORTEDATRUNTIME "Property cannot be set at run time"
  262.     AFX_IDP_E_SETNOTSUPPORTED "Property is read-only"
  263.     AFX_IDP_E_NEEDPROPERTYARRAYINDEX
  264.                             "Must specify array index when using property array"
  265.     AFX_IDP_E_SETNOTPERMITTED "Property cannot be set on this control"
  266.     AFX_IDP_E_GETNOTSUPPORTEDATRUNTIME "Property cannot be read at run time"
  267. END
  268.  
  269. STRINGTABLE DISCARDABLE
  270. BEGIN
  271.     AFX_IDP_E_GETNOTSUPPORTED "Property is write-only"
  272.     AFX_IDP_E_PROPERTYNOTFOUND "Property not found"
  273.     AFX_IDP_E_INVALIDCLIPBOARDFORMAT "Invalid clipboard format"
  274.     AFX_IDP_E_INVALIDPICTURE "Invalid picture"
  275.     AFX_IDP_E_PRINTERERROR  "Printer error"
  276.     AFX_IDP_E_CANTSAVEFILETOTEMP
  277.                             "Cannot create temporary file necessary to save"
  278.     AFX_IDP_E_SEARCHTEXTNOTFOUND "Search text not found"
  279.     AFX_IDP_E_REPLACEMENTSTOOLONG "Replacement text too long"
  280. END
  281. #endif //!_AFX_NO_CTLERROR_RESOURCES
  282.  
  283. #endif //!_AFXDLL
  284. #endif //__AFXOLECL_RC__
  285.