home *** CD-ROM | disk | FTP | other *** search
/ Tricks of the Windows Gam…ming Gurus (2nd Edition) / Disc2.iso / msdn_vcb / samples / vc98 / mfc / controls / button / button.rc < prev    next >
Encoding:
Text File  |  1998-03-27  |  4.3 KB  |  170 lines

  1. //Microsoft Developer Studio generated resource script.
  2. //
  3. #include "resource.h"
  4.  
  5. #define APSTUDIO_READONLY_SYMBOLS
  6. /////////////////////////////////////////////////////////////////////////////
  7. //
  8. // Generated from the TEXTINCLUDE 2 resource.
  9. //
  10. #include "afxres.h"
  11.  
  12. /////////////////////////////////////////////////////////////////////////////
  13. #undef APSTUDIO_READONLY_SYMBOLS
  14.  
  15. /////////////////////////////////////////////////////////////////////////////
  16. // English (U.S.) resources
  17.  
  18. #if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU)
  19. #ifdef _WIN32
  20. LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US
  21. #pragma code_page(1252)
  22. #endif //_WIN32
  23.  
  24. #ifdef APSTUDIO_INVOKED
  25. /////////////////////////////////////////////////////////////////////////////
  26. //
  27. // TEXTINCLUDE
  28. //
  29.  
  30. 1 TEXTINCLUDE DISCARDABLE
  31. BEGIN
  32.     "resource.h\0"
  33. END
  34.  
  35. 2 TEXTINCLUDE DISCARDABLE
  36. BEGIN
  37.     "#include ""afxres.h""\r\n"
  38.     "\0"
  39. END
  40.  
  41. 3 TEXTINCLUDE DISCARDABLE
  42. BEGIN
  43.     "1 TYPELIB Button.tlb\r\n"
  44.     "\r\n"
  45.     "#include ""afxres.rc""\r\n"
  46.     "#include ""button.rc2""  // non-App Studio edited resources\r\n"
  47.     "#if 0\r\n"
  48.     "#include "".\\tlb16\\button.tlb""  // 16-bit: force dependency on .TLB file\r\n"
  49.     "#endif\r\n"
  50.     "\0"
  51. END
  52.  
  53. #endif    // APSTUDIO_INVOKED
  54.  
  55.  
  56. /////////////////////////////////////////////////////////////////////////////
  57. //
  58. // Icon
  59. //
  60.  
  61. // Icon with lowest ID value placed first to ensure application icon
  62. // remains consistent on all systems.
  63. IDI_ABOUTDLL            ICON    DISCARDABLE     "BUTTON.ICO"
  64.  
  65. /////////////////////////////////////////////////////////////////////////////
  66. //
  67. // Bitmap
  68. //
  69.  
  70. IDB_BUTTON              BITMAP  DISCARDABLE     "BTNCTL.BMP"
  71.  
  72. /////////////////////////////////////////////////////////////////////////////
  73. //
  74. // Dialog
  75. //
  76.  
  77. IDD_ABOUTBOX_BUTTON DIALOG DISCARDABLE  34, 22, 260, 55
  78. STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU
  79. CAPTION "About Button Control"
  80. FONT 8, "MS Sans Serif"
  81. BEGIN
  82.     ICON            IDI_ABOUTDLL,IDC_STATIC,10,10,20,20
  83.     LTEXT           "Button Control, Version 1.0",IDC_STATIC,40,10,170,8
  84.     LTEXT           "Copyright ⌐ 1998, Microsoft Corporation",IDC_STATIC,40,
  85.                     25,170,8
  86.     DEFPUSHBUTTON   "OK",IDOK,220,10,32,14,WS_GROUP
  87. END
  88.  
  89. IDD_PROPPAGE_BUTTON DIALOG DISCARDABLE  0, 0, 250, 62
  90. STYLE WS_CHILD
  91. FONT 8, "MS Sans Serif"
  92. BEGIN
  93.     LTEXT           "&Caption:",IDC_STATIC,3,5,33,11
  94.     EDITTEXT        IDC_CAPTIONEDIT,40,3,100,12,ES_AUTOHSCROLL
  95. END
  96.  
  97.  
  98. /////////////////////////////////////////////////////////////////////////////
  99. //
  100. // Menu
  101. //
  102.  
  103. IDR_INPLACEMENU MENU DISCARDABLE
  104. BEGIN
  105.     POPUP "&Edit"
  106.     BEGIN
  107.         MENUITEM "Cu&t",                        ID_EDIT_CUT, GRAYED
  108.         MENUITEM "&Copy",                       ID_EDIT_COPY, GRAYED
  109.         MENUITEM "&Paste",                      ID_EDIT_PASTE, GRAYED
  110.     END
  111.     MENUITEM SEPARATOR
  112.     POPUP "&Options"
  113.     BEGIN
  114.         MENUITEM "Option &1",                   ID_OPTIONS_OPTION1, GRAYED
  115.         MENUITEM "Option &2",                   ID_OPTIONS_OPTION2, GRAYED
  116.         MENUITEM "Option &3",                   ID_OPTIONS_OPTION3, GRAYED
  117.     END
  118.     MENUITEM SEPARATOR
  119.     POPUP "&Help"
  120.     BEGIN
  121.         MENUITEM "&About Button Control...",    ID_HELP_BUTTONCONTROL
  122.     END
  123. END
  124.  
  125.  
  126. /////////////////////////////////////////////////////////////////////////////
  127. //
  128. // String Table
  129. //
  130.  
  131. STRINGTABLE DISCARDABLE
  132. BEGIN
  133.     IDS_BUTTON              "Button Control"
  134.     IDS_BUTTON_PPG          "Button Property Page"
  135. END
  136.  
  137. STRINGTABLE DISCARDABLE
  138. BEGIN
  139.     IDS_BUTTON_PPG_CAPTION  "General"
  140. END
  141.  
  142. STRINGTABLE DISCARDABLE
  143. BEGIN
  144.     ID_OPTIONS_OPTION1      "The first of three options"
  145.     ID_OPTIONS_OPTION2      "The second of three options"
  146.     ID_OPTIONS_OPTION3      "The third of three options"
  147.     ID_HELP_BUTTONCONTROL   "Displays button information"
  148. END
  149.  
  150. #endif    // English (U.S.) resources
  151. /////////////////////////////////////////////////////////////////////////////
  152.  
  153.  
  154.  
  155. #ifndef APSTUDIO_INVOKED
  156. /////////////////////////////////////////////////////////////////////////////
  157. //
  158. // Generated from the TEXTINCLUDE 3 resource.
  159. //
  160. 1 TYPELIB Button.tlb
  161.  
  162. #include "afxres.rc"
  163. #include "button.rc2"  // non-App Studio edited resources
  164. #if 0
  165. #include ".\tlb16\button.tlb"  // 16-bit: force dependency on .TLB file
  166. #endif
  167.  
  168. /////////////////////////////////////////////////////////////////////////////
  169. #endif    // not APSTUDIO_INVOKED
  170.