www.pudn.com > CYDEMO.zip > CYDEMO.rc, change:2012-06-04,size:10932b


//Microsoft Developer Studio generated resource script. 
// 
#include "resource.h" 
 
#define APSTUDIO_READONLY_SYMBOLS 
///////////////////////////////////////////////////////////////////////////// 
// 
// Generated from the TEXTINCLUDE 2 resource. 
// 
#include "afxres.h" 
 
///////////////////////////////////////////////////////////////////////////// 
#undef APSTUDIO_READONLY_SYMBOLS 
 
///////////////////////////////////////////////////////////////////////////// 
// Chinese (P.R.C.) resources 
 
#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_CHS) 
#ifdef _WIN32 
LANGUAGE LANG_CHINESE, SUBLANG_CHINESE_SIMPLIFIED 
#pragma code_page(936) 
#endif //_WIN32 
 
#ifdef APSTUDIO_INVOKED 
///////////////////////////////////////////////////////////////////////////// 
// 
// TEXTINCLUDE 
// 
 
1 TEXTINCLUDE DISCARDABLE  
BEGIN 
    "resource.h\0" 
END 
 
2 TEXTINCLUDE DISCARDABLE  
BEGIN 
    "#include ""afxres.h""\r\n" 
    "\0" 
END 
 
3 TEXTINCLUDE DISCARDABLE  
BEGIN 
    "#define _AFX_NO_SPLITTER_RESOURCES\r\n" 
    "#define _AFX_NO_OLE_RESOURCES\r\n" 
    "#define _AFX_NO_TRACKER_RESOURCES\r\n" 
    "#define _AFX_NO_PROPERTY_RESOURCES\r\n" 
    "\r\n" 
    "#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_CHS)\r\n" 
    "#ifdef _WIN32\r\n" 
    "LANGUAGE 4, 2\r\n" 
    "#pragma code_page(936)\r\n" 
    "#endif //_WIN32\r\n" 
    "#include ""res\\CYDEMO.rc2""  // non-Microsoft Visual C++ edited resources\r\n" 
    "#include ""l.chs\\afxres.rc""          // Standard components\r\n" 
    "#endif\r\n" 
    "\0" 
END 
 
#endif    // APSTUDIO_INVOKED 
 
 
///////////////////////////////////////////////////////////////////////////// 
// 
// Icon 
// 
 
// Icon with lowest ID value placed first to ensure application icon 
// remains consistent on all systems. 
IDR_MAINFRAME           ICON    DISCARDABLE     "res\\CYDEMO.ico" 
 
///////////////////////////////////////////////////////////////////////////// 
// 
// Dialog 
// 
 
IDD_ABOUTBOX DIALOGEX 0, 0, 235, 105 
STYLE DS_MODALFRAME | WS_POPUP | WS_CAPTION | WS_SYSMENU 
CAPTION "关于 CYDEMO" 
FONT 12, "宋体", 0, 0, 0x1 
BEGIN 
    ICON            IDR_MAINFRAME,IDC_STATIC,14,27,20,20 
    CTEXT           "CYDEMO 1.0 版",IDC_STATIC,83,7,73,8,SS_NOPREFIX 
    CTEXT           "版权所有 (C) 2006",IDC_STATIC,67,87,80,8 
    DEFPUSHBUTTON   "确定",IDOK,186,26,36,30,WS_GROUP 
    CTEXT           "www.huanor.com",IDC_STATIC,63,41,97,15,0, 
                    WS_EX_DLGMODALFRAME | WS_EX_CLIENTEDGE |  
                    WS_EX_STATICEDGE 
    CTEXT           "想获得更多请登陆网站:",IDC_STATIC,63,26,89,8 
    CTEXT           "在这里你能得到更多你想得到的---!",IDC_STATIC,49,66, 
                    145,8 
END 
 
IDD_CYDEMO_DIALOG DIALOGEX 0, 0, 500, 347 
STYLE DS_MODALFRAME | DS_SETFOREGROUND | DS_3DLOOK | DS_CENTER |  
    WS_MINIMIZEBOX | WS_MAXIMIZEBOX | WS_POPUP | WS_VISIBLE | WS_CAPTION |  
    WS_SYSMENU 
EXSTYLE WS_EX_APPWINDOW 
FONT 9, "宋体" 
BEGIN 
    PUSHBUTTON      "连接设备",IDC_BUTTON_OPENDEVICE,303,63,50,14 
    PUSHBUTTON      "端点列表",IDC_BUTTON_PORT,359,63,50,14 
    PUSHBUTTON      "MUC复位",IDC_BUTTON_MCURESET,303,85,50,14 
    PUSHBUTTON      "MCU锁定",IDC_BUTTON_MCULOCK,359,85,50,14 
    PUSHBUTTON      "设备描述",IDC_BUTTON_GETDEVICE,304,135,50,14 
    PUSHBUTTON      "接口描述",IDC_BUTTON_GETINTERFACE,360,135,50,14 
    PUSHBUTTON      "配置描述",IDC_BUTTON_GETCONFIG,304,159,50,14 
    PUSHBUTTON      "端点描述",IDC_BUTTON_GETPORT,360,159,50,14 
    PUSHBUTTON      "字符描述符",IDC_BUTTON_GETSTRING,303,182,50,14 
    PUSHBUTTON      "传送帧",IDC_BUTTON_FRAME,360,181,50,14 
    PUSHBUTTON      "写速度测试",IDC_BUTTON_WRSPEEDTEST,303,253,50,17, 
                    BS_CENTER | BS_VCENTER | BS_MULTILINE 
    PUSHBUTTON      "读速度测试",IDC_BUTTON_RDSPEEDTEST,359,253,50,17, 
                    BS_CENTER | BS_VCENTER | BS_MULTILINE 
    PUSHBUTTON      "启动IO测试",IDC_BUTTON_TESTIO,303,279,50,14 
    PUSHBUTTON      "启动I2C测试",IDC_BUTTON_I2CTEST,303,299,50,14 
    DEFPUSHBUTTON   "清空显示框",IDC_BUTTON_CLEAR,362,329,52,14 
    PUSHBUTTON      "启动多线程\r\n测试",IDC_BUTTON_THREADTEST,359,281,50,29, 
                    BS_CENTER | BS_VCENTER | BS_MULTILINE 
    PUSHBUTTON      "选择固件文件",IDC_BUTTON_SELECTFILE,8,329,58,14 
    PUSHBUTTON      "下载固件程序",IDC_BUTTON_DOWNLOAD,299,329,55,14 
    PUSHBUTTON      "关闭",IDC_BUTTON_CLOSEPRO,458,4,32,15 
    EDITTEXT        IDC_EDIT_STRNAME,359,43,50,14,ES_AUTOHSCROLL, 
                    WS_EX_CLIENTEDGE | WS_EX_STATICEDGE 
    EDITTEXT        IDC_EDIT_TESTBYTE,371,233,38,14,ES_RIGHT |  
                    ES_AUTOHSCROLL,WS_EX_STATICEDGE 
    RTEXT           "设备名",IDC_STATIC,303,45,50,12,SS_CENTERIMAGE, 
                    WS_EX_STATICEDGE 
    RTEXT           "数据包大小/B",IDC_STATIC,303,233,61,12,SS_CENTERIMAGE, 
                    WS_EX_STATICEDGE 
    LTEXT           "C:\\temp\\cydeom\\",IDC_STATIC_PROGRAMEPATH,71,328,217, 
                    15,SS_CENTERIMAGE,WS_EX_CLIENTEDGE | WS_EX_STATICEDGE 
    EDITTEXT        IDC_EDIT_TESTDIS,8,245,285,38,ES_MULTILINE | WS_VSCROLL, 
                    WS_EX_CLIENTEDGE | WS_EX_STATICEDGE 
    GROUPBOX        "USB 四种传输例程",IDC_STATIC,8,288,285,36,BS_CENTER, 
                    WS_EX_DLGMODALFRAME 
    PUSHBUTTON      "控制传输例程",IDC_BUTTON_CTRLTRANS,17,303,59,14 
    PUSHBUTTON      "中断传输例程",IDC_BUTTON_INTTRANS,87,303,59,14 
    PUSHBUTTON      "同步传输例程",IDC_BUTTON_ISOTRANS,155,303,59,14 
    PUSHBUTTON      "块传输例程",IDC_BUTTON_BULKTRANS,225,303,59,14 
    GROUPBOX        "基本功能",IDC_STATIC,298,27,117,80,BS_CENTER, 
                    WS_EX_DLGMODALFRAME 
    GROUPBOX        "读取描述符",IDC_STATIC,298,121,117,83,BS_CENTER, 
                    WS_EX_DLGMODALFRAME 
    GROUPBOX        "测试例程",IDC_STATIC,299,215,116,106,BS_CENTER, 
                    WS_EX_DLGMODALFRAME 
    GROUPBOX        "",IDC_STATIC,358,175,56,23,BS_CENTER 
    LTEXT           "",IDC_DRAW,8,30,286,174,0,WS_EX_CLIENTEDGE 
    PUSHBUTTON      "接收",IDC_BUTTON_UARTRX,431,304,50,14 
    PUSHBUTTON      "8BITS 写",IDC_BUTTON_FIFO8WR,430,39,50,14 
    PUSHBUTTON      "16BITS 写",IDC_BUTTON_FIFO16WR,429,79,50,14 
    PUSHBUTTON      "16BITS 读",IDC_BUTTON_FIFO16RD,429,99,50,14 
    PUSHBUTTON      "单字节写",IDC_BUTTON_GPIFSNGWR,432,139,50,14 
    PUSHBUTTON      "FIFO 写",IDC_BUTTON_GPIFFIFOWR,432,175,50,14 
    PUSHBUTTON      "FIFO 读",IDC_BUTTON_GPIFFIFORD,432,193,50,14 
    GROUPBOX        "SLAVE FIFO测试",IDC_STATIC,422,27,68,91,BS_CENTER, 
                    WS_EX_DLGMODALFRAME 
    GROUPBOX        "GPIF 测试",IDC_STATIC,422,125,68,90,BS_CENTER, 
                    WS_EX_DLGMODALFRAME 
    EDITTEXT        IDC_EDIT_UARTTX,442,267,38,14,ES_AUTOHSCROLL 
    EDITTEXT        IDC_EDIT_UARTRX,443,323,38,14,ES_AUTOHSCROLL 
    LTEXT           "TX:",IDC_STATIC,427,270,13,8 
    LTEXT           "RX:",IDC_STATIC,428,327,13,8 
    GROUPBOX        "USB转串口",IDC_STATIC,422,219,68,124,BS_CENTER, 
                    WS_EX_DLGMODALFRAME 
    PUSHBUTTON      "8BITS 读",IDC_BUTTON_FIFO8RD,430,59,50,14 
    PUSHBUTTON      "单字节读",IDC_BUTTON_GPIFSNGRD,432,157,50,14 
    PUSHBUTTON      "发送",IDC_BUTTON_UARTTX,431,286,50,14 
    COMBOBOX        IDC_COMBO_BAUDRATE,431,249,48,95,CBS_DROPDOWN |  
                    WS_VSCROLL | WS_TABSTOP 
    LTEXT           "设置波特率",IDC_STATIC,429,237,41,8 
    GROUPBOX        "数据处理",IDC_STATIC,8,207,283,34,BS_CENTER, 
                    WS_EX_DLGMODALFRAME 
    PUSHBUTTON      "数据下载",IDC_BUTTON_DATADOWM,15,218,48,15 
    PUSHBUTTON      "通道选择",IDC_BUTTON_THANNELSELECT,225,217,53,17 
    PUSHBUTTON      "单通道图形显示",IDC_BUTTON_SINGLESHOW,135,219,79,16 
    PUSHBUTTON      "Button11",IDC_BUTTON11,159,82,59,17 
END 
 
 
#ifndef _MAC 
///////////////////////////////////////////////////////////////////////////// 
// 
// Version 
// 
 
VS_VERSION_INFO VERSIONINFO 
 FILEVERSION 1,0,0,1 
 PRODUCTVERSION 1,0,0,1 
 FILEFLAGSMASK 0x3fL 
#ifdef _DEBUG 
 FILEFLAGS 0x1L 
#else 
 FILEFLAGS 0x0L 
#endif 
 FILEOS 0x4L 
 FILETYPE 0x1L 
 FILESUBTYPE 0x0L 
BEGIN 
    BLOCK "StringFileInfo" 
    BEGIN 
        BLOCK "080404B0" 
        BEGIN 
            VALUE "CompanyName", "\0" 
            VALUE "FileDescription", "CYDEMO Microsoft 基础类应用程序\0" 
            VALUE "FileVersion", "1, 0, 0, 1\0" 
            VALUE "InternalName", "CYDEMO\0" 
            VALUE "LegalCopyright", "版权所有 (C) 2006\0" 
            VALUE "LegalTrademarks", "\0" 
            VALUE "OriginalFilename", "CYDEMO.EXE\0" 
            VALUE "ProductName", "CYDEMO 应用程序\0" 
            VALUE "ProductVersion", "1, 0, 0, 1\0" 
        END 
    END 
    BLOCK "VarFileInfo" 
    BEGIN 
        VALUE "Translation", 0x804, 1200 
    END 
END 
 
#endif    // !_MAC 
 
 
///////////////////////////////////////////////////////////////////////////// 
// 
// DESIGNINFO 
// 
 
#ifdef APSTUDIO_INVOKED 
GUIDELINES DESIGNINFO DISCARDABLE  
BEGIN 
    IDD_ABOUTBOX, DIALOG 
    BEGIN 
        LEFTMARGIN, 7 
        RIGHTMARGIN, 228 
        TOPMARGIN, 7 
        BOTTOMMARGIN, 98 
    END 
 
    IDD_CYDEMO_DIALOG, DIALOG 
    BEGIN 
        LEFTMARGIN, 8 
        RIGHTMARGIN, 490 
        BOTTOMMARGIN, 343 
    END 
END 
#endif    // APSTUDIO_INVOKED 
 
 
///////////////////////////////////////////////////////////////////////////// 
// 
// REGISTRY 
// 
 
IDR_CYDEMO              REGISTRY DISCARDABLE    "CYDEMO.rgs" 
 
///////////////////////////////////////////////////////////////////////////// 
// 
// Dialog Info 
// 
 
IDD_CYDEMO_DIALOG DLGINIT 
BEGIN 
    IDC_COMBO_BAUDRATE, 0x403, 5, 0 
0x3432, 0x3030, "\000"  
    IDC_COMBO_BAUDRATE, 0x403, 5, 0 
0x3834, 0x3030, "\000"  
    IDC_COMBO_BAUDRATE, 0x403, 5, 0 
0x3639, 0x3030, "\000"  
    IDC_COMBO_BAUDRATE, 0x403, 6, 0 
0x3931, 0x3032, 0x0030,  
    IDC_COMBO_BAUDRATE, 0x403, 6, 0 
0x3833, 0x3034, 0x0030,  
    0 
END 
 
 
///////////////////////////////////////////////////////////////////////////// 
// 
// String Table 
// 
 
STRINGTABLE DISCARDABLE  
BEGIN 
    IDS_ABOUTBOX            "关于 CYDEMO(&A)..." 
END 
 
#endif    // Chinese (P.R.C.) resources 
///////////////////////////////////////////////////////////////////////////// 
 
 
 
#ifndef APSTUDIO_INVOKED 
///////////////////////////////////////////////////////////////////////////// 
// 
// Generated from the TEXTINCLUDE 3 resource. 
// 
#define _AFX_NO_SPLITTER_RESOURCES 
#define _AFX_NO_OLE_RESOURCES 
#define _AFX_NO_TRACKER_RESOURCES 
#define _AFX_NO_PROPERTY_RESOURCES 
 
#if !defined(AFX_RESOURCE_DLL) || defined(AFX_TARG_CHS) 
#ifdef _WIN32 
LANGUAGE 4, 2 
#pragma code_page(936) 
#endif //_WIN32 
#include "res\CYDEMO.rc2"  // non-Microsoft Visual C++ edited resources 
#include "l.chs\afxres.rc"          // Standard components 
#endif 
 
///////////////////////////////////////////////////////////////////////////// 
#endif    // not APSTUDIO_INVOKED