watchbar.h

来自「类似vc的集成开发环境」· C头文件 代码 · 共 77 行

H
77
字号
// CWatchBar : header file
/////////////////////////////////////////////////////////////////////////////

#ifndef __WATCHBAR_H
#define __WATCHBAR_H

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


#include "ListCtrlEx.h"

/////////////////////////////////////////////////////////////////////////////
// CWatchBar class

class CWatchBar;
class CWatchBar : public CCJControlBar
{
	DECLARE_DYNAMIC(CWatchBar)

// Construction
public:
	CWatchBar();

// Attributes
public:
	
	CCJFlatTabCtrl	m_FlatTabCtrl;				// flat tab control
//	CWatchBarList		m_WatchList[4];
	CListBox		m_WatchList[4];
//	CListCtrl		m_WatchList[4];
	CListCtrlEx	   m_viarable;
	CFont			m_Font;
	
	void SelectTabView(int nTab);
	void UpDateSearch1();
	void UpDatePC(int i_pc);
	void UpDateVar(int i_sel,CString str_var);

// Operations
public:

// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CWatchBar)
	protected:
	virtual BOOL OnNotify(WPARAM wParam, LPARAM lParam, LRESULT* pResult);
	//}}AFX_VIRTUAL

// Implementation
public:
	virtual ~CWatchBar();

// Generated message map functions
protected:
	//{{AFX_MSG(CWatchBar)
	afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct);
	afx_msg void OnSize(UINT nType, int cx, int cy);
	afx_msg void OnPaint();
	afx_msg BOOL CreateTabListCtrl(CListCtrl
		& listCtrl, UINT nID);
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()


		//CWatchBarList
};

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

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

#endif // __WATCHBAR_H

⌨️ 快捷键说明

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