⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 ezmrfrm.h

📁 FX2 68013的控制面板源程序
💻 H
字号:
////////////////////////////////////////////////////////////////////////////////
// EzMrFrm.h : interface of the CEzMrFrame class
// $Header: /USB/Util/EzMr/EzMrFrm.h 6     3/07/02 11:18p Tpm $
// Copyright (c) 2000 Cypress Semiconductor. May not be reproduced without permission.
// See the EzUsb Developer's Kit license agreement for more details.
////////////////////////////////////////////////////////////////////////////////


#if !defined(AFX_CHILDFRM_H__48EF15AB_65B1_11D1_8E2A_0060089D04CA__INCLUDED_)
#define AFX_CHILDFRM_H__48EF15AB_65B1_11D1_8E2A_0060089D04CA__INCLUDED_

#if _MSC_VER >= 1000
#pragma once
#endif // _MSC_VER >= 1000


class CEzMrFrame : public CMDIChildWnd
{
	DECLARE_DYNCREATE(CEzMrFrame)
public:
	CEzMrFrame();

// Attributes
public:
	CString m_strDrv[MAX_USB_DEV_NUMBER];
//	int m_nOpsPending;
//	int m_nOpsCount;

	CDialogBar m_wndDlgMain;
	CDialogBar m_wndDlgBarUsbDev;
	CToolBar m_wndTBarOps;	//TPMDo: Add ToolBar manually
	CComboBox   m_CBoxOps;
	CComboBox m_CBoxDrv;
	int m_SelDrv;
	CEdit m_EBoxDev;
	CToolBar m_wndTBarVen;	//TPMDo: Add m_wndTBarVen manually
	CEdit m_EBoxReq;
	CEdit m_EBoxVal;
	CEdit m_EBoxInd;
	CEdit m_EBoxLen;
	CComboBox m_CBoxVenDir;
	CComboBox m_CBoxVenData;
	CToolBar m_wndTBarIso;	//TPMDo: Add m_wndTBarIso manually
	CComboBox m_CBoxIsoPipe;
	CEdit m_EBoxPack;
	CEdit m_EBoxSize;
	CEdit m_EBoxIsoBufCnt;
	CEdit m_EBoxIsoPakPer;
	CToolBar m_wndTBarBlk;	//TPMDo: Add m_wndTBarBlk manually
	CComboBox m_CBoxBlkType;
	CComboBox m_CBoxBlkPipe;
	CEdit m_EBoxBlkLen;
	CComboBox m_CBoxBlkData;
	char BlkBuf[MAX_FILE_SIZE];
	char VenBuf[MAX_FILE_SIZE];
	char TstBuf[MAX_FILE_SIZE];
	char IsoBuf[MAX_ISO_SIZE];
	CToolBar m_wndTBarRes;	//TPMDo: Add m_wndTBarRes manually
	CComboBox   m_CBoxResPipe;
	CToolBar m_wndTBarUna;	//TPMDo: Add m_wndTBarUna manually
	CToolBar m_wndTBarCfg;	//TPMDo: Add m_wndTBarDld manually
	CStatic m_TxtIntf;
	CEdit m_EBoxIntf;
	CStatic m_TxtAltSet;
	CEdit m_EBoxAltSet;

	CToolBar* m_pwndTbar[MAX_OP_NUMBER];

	CListBox m_cPendListBox;

	int m_pTxt_idx;
	CStatic* m_pTxt[80]; // pointers for static lables

// Operations
public:
	void CEzMrFrame::InitEzMrCtrlBars(void);
	void CEzMrFrame::ShowEzMrCtrlBars(void);
	void UpdatePipes(void);
	void UpdDrvCBox(void);
	void OpStart(CThreadInfo* pParam);
	void OpDone(CThreadInfo* pParam);
	void NewTBarText(CToolBar* pTB, int idx, UINT nID, int nPw, char* pLbl);
	void NewTBarEBox(CToolBar* pTB, int idx, UINT nID, int nPw, char* pLbl, CEdit* pEB);
    void CEzMrFrame::DockControlBarLeftOf(CToolBar* Bar,CToolBar* LeftOf);

// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CEzMrFrame)
	virtual BOOL PreCreateWindow(CREATESTRUCT& cs);
	//}}AFX_VIRTUAL

// Implementation
public:
	virtual ~CEzMrFrame();
#ifdef _DEBUG
	virtual void AssertValid() const;
	virtual void Dump(CDumpContext& dc) const;
#endif
	afx_msg void OnEditVenData(); //TPM publicised
	afx_msg void OnEditchangeData(); //TPM publicised

// Generated message map functions
protected:

	//{{AFX_MSG(CEzMrFrame)
	afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct);
	afx_msg void OnClose();
	//}}AFX_MSG

	afx_msg void OnSelChangeOp();
	afx_msg void OnSelChangeDev();
	afx_msg void OnSelChangeBlk();
	//afx_msg void OnEditchangeData();

	DECLARE_MESSAGE_MAP()
};

/////////////////////////////////////////////////////////////////////////////

//{{AFX_INSERT_LOCATION}}
// Microsoft Developer Studio will insert additional declarations immediately before the previous line.

#endif // !defined(AFX_CHILDFRM_H__48EF15AB_65B1_11D1_8E2A_0060089D04CA__INCLUDED_)

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -