📄 mainfrm.h
字号:
////////////////////////////////////////////////////////////////////////////////
// MainFrm.h : interface of the CMainFrame class
// $Header: /USB/Util/EzMr/MainFrm.h 5 6/26/01 3:20p 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_MAINFRM_H__48EF15A9_65B1_11D1_8E2A_0060089D04CA__INCLUDED_)
#define AFX_MAINFRM_H__48EF15A9_65B1_11D1_8E2A_0060089D04CA__INCLUDED_
#if _MSC_VER >= 1000
#pragma once
#endif // _MSC_VER >= 1000
#include "plugintool.h"
#include "pluginlist.h"
class CMainFrame : public CMDIFrameWnd
{
DECLARE_DYNAMIC(CMainFrame)
public:
CMainFrame();
void NewTBarText(CToolBar* pTB, int idx, UINT nID, int nPw, char* pLbl);
void DockControlBarLeftOf(CToolBar* Bar,CToolBar* LeftOf);
// Attributes
public:
// Operations
public:
CToolBar m_wndTBarTarg; //TPMDo: Add m_wndTBarRes manually
CComboBox m_CBoxSelTarg;
int m_pTxt_idx;
CStatic* m_pTxt[80]; // pointers for static lables
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CMainFrame)
virtual BOOL PreCreateWindow(CREATESTRUCT& cs);
//}}AFX_VIRTUAL
// Implementation
public:
void OnProperties();
virtual ~CMainFrame();
#ifdef _DEBUG
virtual void AssertValid() const;
virtual void Dump(CDumpContext& dc) const;
#endif
protected: // control bar embedded members
CStatusBar m_wndStatusBar;
CToolBar m_wndToolBar;
CPlugInList m_plugInList; // Plug-in list
// Generated message map functions
protected:
CDialogBar m_wndDlgBarUsbDevs;
//{{AFX_MSG(CMainFrame)
afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct);
afx_msg BOOL OnPluginTools(UINT nID);
afx_msg void OnUpdatePluginTools(CCmdUI* pCmdUI);
afx_msg void OnSelTarget();
// afx_msg void OnProperties();
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
/////////////////////////////////////////////////////////////////////////////
//{{AFX_INSERT_LOCATION}}
// Microsoft Developer Studio will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_MAINFRM_H__48EF15A9_65B1_11D1_8E2A_0060089D04CA__INCLUDED_)
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -