CButtonST_Demo.rc
上传用户:yangxun008
上传日期:2008-03-25
资源大小:3863k
文件大小:13k
源码类别:

按钮控件

开发平台:

Visual C++

  1. //Microsoft Developer Studio generated resource script.
  2. //
  3. #include "resource.h"
  4. #define APSTUDIO_READONLY_SYMBOLS
  5. /////////////////////////////////////////////////////////////////////////////
  6. //
  7. // Generated from the TEXTINCLUDE 2 resource.
  8. //
  9. #include "afxres.h"
  10. /////////////////////////////////////////////////////////////////////////////
  11. #undef APSTUDIO_READONLY_SYMBOLS
  12. /////////////////////////////////////////////////////////////////////////////
  13. // Neutral resources
  14. #if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_NEU)
  15. #ifdef _WIN32
  16. LANGUAGE LANG_NEUTRAL, SUBLANG_NEUTRAL
  17. #pragma code_page(1252)
  18. #endif //_WIN32
  19. /////////////////////////////////////////////////////////////////////////////
  20. //
  21. // Icon
  22. //
  23. // Icon with lowest ID value placed first to ensure application icon
  24. // remains consistent on all systems.
  25. IDI_CANCEL1             ICON    DISCARDABLE     "res\Cancel1_32x32x16.ico"
  26. IDI_CANCEL4             ICON    DISCARDABLE     "res\Cancel4_32x32x2.ico"
  27. IDI_EOAPP               ICON    DISCARDABLE     "res\EOapp.ico"
  28. IDI_HALLOWEEN1          ICON    DISCARDABLE     "res\Halloween1.ico"
  29. IDI_HALLOWEEN2          ICON    DISCARDABLE     "res\Halloween2.ico"
  30. IDI_KEYMANAGER          ICON    DISCARDABLE     "res\Key manager.ico"
  31. IDI_SOUND               ICON    DISCARDABLE     "res\Sound.ico"
  32. IDI_LAMP1               ICON    DISCARDABLE     "res\Lamp1.ico"
  33. IDI_ZIP1                ICON    DISCARDABLE     "res\Winzip1.ico"
  34. IDI_ZIP2                ICON    DISCARDABLE     "res\Winzip2.ico"
  35. IDI_JPEG                ICON    DISCARDABLE     "res\JPEG Image.ico"
  36. IDI_BALOON              ICON    DISCARDABLE     "res\Baloon.ico"
  37. IDI_CDROM               ICON    DISCARDABLE     "res\CDRom.ico"
  38. IDI_SEARCH1             ICON    DISCARDABLE     "res\Search1.ico"
  39. IDI_WORKGROUP           ICON    DISCARDABLE     "res\Workgroup.ico"
  40. IDI_LOGOFF              ICON    DISCARDABLE     "res\LogOff.ico"
  41. IDI_OPEN                ICON    DISCARDABLE     "res\Open.ico"
  42. IDI_HELP                ICON    DISCARDABLE     "res\Help.ico"
  43. IDI_EXPLORER            ICON    DISCARDABLE     "res\Explorer.ico"
  44. IDI_ABOUT               ICON    DISCARDABLE     "res\About.ico"
  45. IDI_LEDON               ICON    DISCARDABLE     "res\LedOn.ico"
  46. IDI_LEDOFF              ICON    DISCARDABLE     "res\LedOff.ico"
  47. IDI_WEB2                ICON    DISCARDABLE     "res\Web2.ico"
  48. IDI_TOOLS4              ICON    DISCARDABLE     "res\Tools4.ico"
  49. IDI_RUN                 ICON    DISCARDABLE     "res\Run.ico"
  50. IDI_OK3                 ICON    DISCARDABLE     "res\Ok3_32x32x256.ico"
  51. IDI_CANCEL3             ICON    DISCARDABLE     "res\Cancel3_32x32x256.ico"
  52. IDI_IEDOCUMENT          ICON    DISCARDABLE     "res\IEDocument_48x48x256.ico"
  53. IDI_HELP2               ICON    DISCARDABLE     "res\Help2_32x32x256.ico"
  54. IDI_RAZOR               ICON    DISCARDABLE     "res\Razor_32x32x256.ico"
  55. IDI_CLASSES1            ICON    DISCARDABLE     "res\Classes1_32x32x16.ico"
  56. IDI_NO3                 ICON    DISCARDABLE     "res\No3_32x32x256.ico"
  57. IDI_RIGHT6              ICON    DISCARDABLE     "res\Right6_32x32x256.ico"
  58. IDI_LEFT6               ICON    DISCARDABLE     "res\Left6_32x32x256.ico"
  59. /////////////////////////////////////////////////////////////////////////////
  60. //
  61. // Dialog
  62. //
  63. IDD_CBUTTONST_DEMO_DIALOG DIALOGEX 0, 0, 320, 200
  64. STYLE DS_MODALFRAME | WS_POPUP | WS_VISIBLE | WS_CAPTION | WS_SYSMENU
  65. EXSTYLE WS_EX_APPWINDOW
  66. CAPTION "CButtonST"
  67. FONT 8, "MS Sans Serif", 0, 0, 0x1
  68. BEGIN
  69.     PUSHBUTTON      "Close",IDCANCEL,237,173,80,24
  70.     CONTROL         "Tab1",IDC_TAB,"SysTabControl32",0x0,6,9,306,155
  71.     LTEXT           "SoftechSoftware Email",IDC_EMAILLINK,6,186,100,8
  72.     LTEXT           "SoftechSoftware homepage",IDC_HOMEPAGELINK,6,175,100,8
  73. END
  74. IDD_BASIC DIALOG DISCARDABLE  0, 0, 300, 140
  75. STYLE WS_CHILD
  76. FONT 8, "MS Sans Serif"
  77. BEGIN
  78.     PUSHBUTTON      "Standard",IDC_BTNSTANDARD,5,11,76,24
  79.     PUSHBUTTON      "Halloween",IDC_BTNHALLOWEEN,92,11,76,24
  80.     PUSHBUTTON      "Click torndisable",IDC_BTNDISABLED,175,11,76,24
  81.     PUSHBUTTON      "",IDC_BTNLAMP,263,11,24,24
  82.     PUSHBUTTON      "48x48 icon",IDC_BTNKEYMANAGER,5,43,76,35
  83.     PUSHBUTTON      "Zip",IDC_BTNZIP,92,43,76,24
  84.     PUSHBUTTON      "Search",IDC_BTNSEARCH,175,43,47,40
  85.     PUSHBUTTON      "",IDC_BTNCDROM,263,41,24,24
  86.     PUSHBUTTON      "72x72 iconrnAlmost a bitmap!",IDC_BTNJPEG,5,82,110,56
  87.     PUSHBUTTON      "Back",IDC_BTNBACK,123,113,59,24
  88.     PUSHBUTTON      "Next",IDC_BTNNEXT,185,113,59,24
  89.     PUSHBUTTON      "",IDC_BTNTOOLTIP,263,72,24,24
  90.     GROUPBOX        " Standard button ",IDC_STATIC,0,0,86,40
  91. END
  92. IDD_ADVANCED DIALOG DISCARDABLE  0, 0, 300, 140
  93. STYLE WS_CHILD
  94. FONT 8, "MS Sans Serif"
  95. BEGIN
  96.     GROUPBOX        " CWinXPButtonST ",IDC_STATIC,0,0,96,40
  97.     PUSHBUTTON      "Example ofrnderived class",IDC_BTNDERIVED,5,11,86,24
  98.     GROUPBOX        " Hyperlink ",IDC_STATIC,102,0,96,40
  99.     PUSHBUTTON      "SoftechSoftware",IDC_BTNHYPERLINK,107,11,86,24
  100.     GROUPBOX        " Menu ",IDC_STATIC,203,0,96,40
  101.     PUSHBUTTON      "Open menu",IDC_BTNCURSOR,208,11,86,24
  102.     CONTROL         "Traces enabled",IDC_CHECK,"Button",BS_AUTOCHECKBOX | 
  103.                     WS_TABSTOP,208,107,86,12
  104.     PUSHBUTTON      "Click!",IDC_BTNFOCUSRECT,208,54,86,28
  105.     GROUPBOX        " Focus rectangle ",IDC_STATIC,203,44,96,42
  106.     GROUPBOX        " Checkbox support ",IDC_STATIC,203,90,96,40
  107.     GROUPBOX        " Bitmap support ",IDC_STATIC,0,44,198,85
  108.     PUSHBUTTON      "Bitmap support finally added!",IDC_BTNBITMAP,5,54,188,
  109.                     71
  110. END
  111. IDD_TRANSPARENT DIALOG DISCARDABLE  0, 0, 300, 140
  112. STYLE WS_CHILD
  113. FONT 8, "MS Sans Serif"
  114. BEGIN
  115.     PUSHBUTTON      "48x48 icon",IDC_BTNLOGOFF,13,16,76,35
  116.     PUSHBUTTON      "",IDC_BTNOPEN,158,20,24,24
  117.     PUSHBUTTON      "",IDC_BTNSEARCH,184,20,24,24
  118.     PUSHBUTTON      "",IDC_BTNEXPLORER,210,20,24,24
  119.     PUSHBUTTON      "",IDC_BTNHELP,236,20,24,24
  120.     PUSHBUTTON      "",IDC_BTNABOUT,262,20,24,24
  121.     PUSHBUTTON      "72x72 icon",IDC_BTNWORKGROUP,13,55,110,56
  122.     PUSHBUTTON      "This is a bitmaprnOut for lunch?",IDC_BTNCANNIBAL,149,
  123.                     55,145,78
  124.     CONTROL         "A CButtonST checkbox",IDC_CHECK,"Button",
  125.                     BS_AUTOCHECKBOX | WS_TABSTOP,13,119,110,12
  126.     GROUPBOX        "",IDC_STATIC,3,0,296,138
  127.     GROUPBOX        "",IDC_STATIC,148,10,147,40
  128. END
  129. IDD_ABOUT DIALOG DISCARDABLE  0, 0, 300, 140
  130. STYLE WS_CHILD
  131. FONT 8, "MS Sans Serif"
  132. BEGIN
  133.     PUSHBUTTON      "",IDC_BTNSTLOGO,0,0,299,32,WS_DISABLED
  134.     CTEXT           "CButtonST vx.x",IDC_VERSION,60,34,180,8,SS_NOPREFIX
  135.     CTEXT           "Copyright (C) 1998-2002 by SoftechSoftware",IDC_STATIC,
  136.                     40,44,220,8
  137.     PUSHBUTTON      "",IDC_BTNFACE,0,80,57,60,WS_DISABLED
  138.     LTEXT           "I would like to thank the following people for their classes used in this application.",
  139.                     IDC_STATIC,77,80,186,19
  140.     ICON            IDR_MAINFRAME,IDC_STATIC,17,44,20,20
  141.     LTEXT           "Chris Maunderttchris@codeproject.comrnben@shido.fsnet.co.ukt(www.shido.fsnet.co.uk)rnDavide Pizzolatotting.davide.pizzolato@libero.it",
  142.                     IDC_STATIC,77,103,213,32
  143. END
  144. IDD_SHADED DIALOG DISCARDABLE  0, 0, 300, 140
  145. STYLE WS_CHILD
  146. FONT 8, "MS Sans Serif"
  147. BEGIN
  148.     PUSHBUTTON      "&Metal",IDC_BTNSHADE1,27,14,76,35
  149.     PUSHBUTTON      "&Noise",IDC_BTNSHADE4,112,14,76,35
  150.     PUSHBUTTON      "V Shade",IDC_BTNSHADE7,196,14,76,35
  151.     PUSHBUTTON      "&HardBump",IDC_BTNSHADE2,27,52,76,35
  152.     PUSHBUTTON      "V Bump",IDC_BTNSHADE5,112,52,76,35
  153.     PUSHBUTTON      "H Shade",IDC_BTNSHADE8,196,52,76,35
  154.     PUSHBUTTON      "&SoftBump",IDC_BTNSHADE3,27,91,76,35
  155.     PUSHBUTTON      "H Bump",IDC_BTNSHADE6,112,91,76,35
  156.     PUSHBUTTON      "&Diagonal",IDC_BTNSHADE9,196,91,76,35
  157. END
  158. /////////////////////////////////////////////////////////////////////////////
  159. //
  160. // Bitmap
  161. //
  162. IDB_BMPBACK             BITMAP  DISCARDABLE     "res\BmpBack.bmp"
  163. IDB_SKY                 BITMAP  DISCARDABLE     "res\Sky.bmp"
  164. IDB_CANNIBAL            BITMAP  DISCARDABLE     "res\Cannibal.bmp"
  165. IDB_EAGLE               BITMAP  DISCARDABLE     "res\Eagle.bmp"
  166. IDB_STLOGO              BITMAP  DISCARDABLE     "res\STLogo_Small.bmp"
  167. IDB_FACE                BITMAP  DISCARDABLE     "res\Face.bmp"
  168. IDB_PALETTE             BITMAP  DISCARDABLE     "res\Palette.bmp"
  169. IDR_TOOLBAR             BITMAP  DISCARDABLE     "res\toolbar.bmp"
  170. /////////////////////////////////////////////////////////////////////////////
  171. //
  172. // Cursor
  173. //
  174. IDC_HAND2               CURSOR  DISCARDABLE     "res\Hand.cur"
  175. /////////////////////////////////////////////////////////////////////////////
  176. //
  177. // Menu
  178. //
  179. IDR_MENU MENU DISCARDABLE 
  180. BEGIN
  181.     POPUP "Menu"
  182.     BEGIN
  183.         MENUITEM "Option &1",                   IDM_ITEM1
  184.         MENUITEM "Option &2",                   IDM_ITEM2
  185.     END
  186. END
  187. /////////////////////////////////////////////////////////////////////////////
  188. //
  189. // Toolbar
  190. //
  191. IDR_TOOLBAR TOOLBAR DISCARDABLE  16, 16
  192. BEGIN
  193.     BUTTON      IDM_ITEM1
  194.     BUTTON      IDM_ITEM2
  195. END
  196. #endif    // Neutral resources
  197. /////////////////////////////////////////////////////////////////////////////
  198. /////////////////////////////////////////////////////////////////////////////
  199. // English (U.S.) resources
  200. #if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU)
  201. #ifdef _WIN32
  202. LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US
  203. #pragma code_page(1252)
  204. #endif //_WIN32
  205. #ifndef _MAC
  206. /////////////////////////////////////////////////////////////////////////////
  207. //
  208. // Version
  209. //
  210. VS_VERSION_INFO VERSIONINFO
  211.  FILEVERSION 1,0,0,1
  212.  PRODUCTVERSION 1,0,0,1
  213.  FILEFLAGSMASK 0x3fL
  214. #ifdef _DEBUG
  215.  FILEFLAGS 0x1L
  216. #else
  217.  FILEFLAGS 0x0L
  218. #endif
  219.  FILEOS 0x4L
  220.  FILETYPE 0x1L
  221.  FILESUBTYPE 0x0L
  222. BEGIN
  223.     BLOCK "StringFileInfo"
  224.     BEGIN
  225.         BLOCK "040904B0"
  226.         BEGIN
  227.             VALUE "CompanyName", ""
  228.             VALUE "FileDescription", "CButtonST_Demo MFC Application"
  229.             VALUE "FileVersion", "1, 0, 0, 1"
  230.             VALUE "InternalName", "CButtonST_Demo"
  231.             VALUE "LegalCopyright", "Copyright (C) 2001"
  232.             VALUE "LegalTrademarks", ""
  233.             VALUE "OriginalFilename", "CButtonST_Demo.EXE"
  234.             VALUE "ProductName", "CButtonST_Demo Application"
  235.             VALUE "ProductVersion", "1, 0, 0, 1"
  236.         END
  237.     END
  238.     BLOCK "VarFileInfo"
  239.     BEGIN
  240.         VALUE "Translation", 0x409, 1200
  241.     END
  242. END
  243. #endif    // !_MAC
  244. #endif    // English (U.S.) resources
  245. /////////////////////////////////////////////////////////////////////////////
  246. /////////////////////////////////////////////////////////////////////////////
  247. // Italian (Italy) resources
  248. #if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ITA)
  249. #ifdef _WIN32
  250. LANGUAGE LANG_ITALIAN, SUBLANG_ITALIAN
  251. #pragma code_page(1252)
  252. #endif //_WIN32
  253. /////////////////////////////////////////////////////////////////////////////
  254. //
  255. // Icon
  256. //
  257. // Icon with lowest ID value placed first to ensure application icon
  258. // remains consistent on all systems.
  259. IDR_MAINFRAME           ICON    DISCARDABLE     "res\CButtonST_Demo.ico"
  260. #ifdef APSTUDIO_INVOKED
  261. /////////////////////////////////////////////////////////////////////////////
  262. //
  263. // TEXTINCLUDE
  264. //
  265. 1 TEXTINCLUDE DISCARDABLE 
  266. BEGIN
  267.     "resource.h"
  268. END
  269. 2 TEXTINCLUDE DISCARDABLE 
  270. BEGIN
  271.     "#include ""afxres.h""rn"
  272.     ""
  273. END
  274. 3 TEXTINCLUDE DISCARDABLE 
  275. BEGIN
  276.     "#define _AFX_NO_SPLITTER_RESOURCESrn"
  277.     "#define _AFX_NO_OLE_RESOURCESrn"
  278.     "#define _AFX_NO_TRACKER_RESOURCESrn"
  279.     "#define _AFX_NO_PROPERTY_RESOURCESrn"
  280.     "rn"
  281.     "#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU)rn"
  282.     "#ifdef _WIN32rn"
  283.     "LANGUAGE 9, 1rn"
  284.     "#pragma code_page(1252)rn"
  285.     "#endif //_WIN32rn"
  286.     "#include ""res\CButtonST_Demo.rc2""  // non-Microsoft Visual C++ edited resourcesrn"
  287.     "#include ""afxres.rc""         // Standard componentsrn"
  288.     "#endifrn"
  289.     ""
  290. END
  291. #endif    // APSTUDIO_INVOKED
  292. #endif    // Italian (Italy) resources
  293. /////////////////////////////////////////////////////////////////////////////
  294. #ifndef APSTUDIO_INVOKED
  295. /////////////////////////////////////////////////////////////////////////////
  296. //
  297. // Generated from the TEXTINCLUDE 3 resource.
  298. //
  299. #define _AFX_NO_SPLITTER_RESOURCES
  300. #define _AFX_NO_OLE_RESOURCES
  301. #define _AFX_NO_TRACKER_RESOURCES
  302. #define _AFX_NO_PROPERTY_RESOURCES
  303. #if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_ENU)
  304. #ifdef _WIN32
  305. LANGUAGE 9, 1
  306. #pragma code_page(1252)
  307. #endif //_WIN32
  308. #include "resCButtonST_Demo.rc2"  // non-Microsoft Visual C++ edited resources
  309. #include "afxres.rc"         // Standard components
  310. #endif
  311. /////////////////////////////////////////////////////////////////////////////
  312. #endif    // not APSTUDIO_INVOKED