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

📄 watchbar.h

📁 类似vc的集成开发环境
💻 H
字号:
// 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 + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -