usbvreqdialog.h
来自「TMS320VC5502的USB通讯程序」· C头文件 代码 · 共 61 行
H
61 行
#if !defined(AFX_USBVREQDIALOG_H__B68889AB_8E67_4393_ACE8_48F8FEA88523__INCLUDED_)
#define AFX_USBVREQDIALOG_H__B68889AB_8E67_4393_ACE8_48F8FEA88523__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// UsbvreqDialog.h : header file
//
/////////////////////////////////////////////////////////////////////////////
// CUsbvreqDialog dialog
class CUsbvreqDialog : public CDialog
{
// Construction
public:
int m_VendorDir;
char m_Endpoint0data[64];
CUsbvreqDialog(CWnd* pParent = NULL); // standard constructor
// Dialog Data
//{{AFX_DATA(CUsbvreqDialog)
enum { IDD = IDD_VENDOR_REQUESTOR };
CComboBox m_ctrDirection;
CString m_strEndpoint0data;
int m_VendorReq;
BYTE m_VendorIndex;
BYTE m_VendorValue;
int m_VendorLength;
//}}AFX_DATA
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CUsbvreqDialog)
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
//}}AFX_VIRTUAL
// Implementation
protected:
// Generated message map functions
//{{AFX_MSG(CUsbvreqDialog)
afx_msg void OnDropdownDirection();
afx_msg void OnCloseupDirection();
virtual BOOL OnInitDialog();
virtual void OnOK();
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
private:
int chartonumber(char str);
CString m_sDirSelection;
void strtodata();
};
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_USBVREQDIALOG_H__B68889AB_8E67_4393_ACE8_48F8FEA88523__INCLUDED_)
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?