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

📄 guiworktab.h

📁 这是一个串口监视程序
💻 H
字号:
//-----------------------------------------------------------------------//
// This is a part of the GuiLib MFC Extention.							 //	
// Autor  :  Francisco Campos											 //
// (C) 2002 Francisco Campos <www.beyondata.com> All rights reserved     //
// This code is provided "as is", with absolutely no warranty expressed  //
// or implied. Any use is at your own risk.								 //		
// You must obtain the author's consent before you can include this code //
// in a software library.												 //
// If the source code in  this file is used in any application			 //
// then acknowledgement must be made to the author of this program		 //	
// fco_campos@tutopia.com													 //
//-----------------------------------------------------------------------//


#if !defined(AFX_GUIWORKTAB_H__A711D725_2268_4750_B58E_5218AD3BC0A5__INCLUDED_)
#define AFX_GUIWORKTAB_H__A711D725_2268_4750_B58E_5218AD3BC0A5__INCLUDED_

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

#include "GuiTabWnd.h"
#include "GuiLib.h"
#include "GuiDrawlayer.h"
#include "GuiMiniTool.h"

//****************************************************************

class GUILIBDLLEXPORT  CGuiWorkTab : public CGuiTabWnd  
{
public:
	
	//***************************************
		CGuiWorkTab();
		virtual ~CGuiWorkTab();
	//***************************************

public:

	void  virtual Drawtabs(CDC* dc);
	void  OnHScroll(UINT nSBCode, UINT nPos, CScrollBar* pScrollBar); 
	void  PintaSeparador(CDC* dc);
	void  OnSpiNiz();
	void  OnSpiNde();	
	void  SizeScroll();
protected:
	
	CGuiMiniTool	m_mSpin;
	CScrollBar		m_spin;
	CScrollBar		m_scroll;
	CFont			m_cfont;
	BOOL			m_PresRight;
	BOOL			m_PresLeft;
	int				m_deplaza;
	CRect			m_btndesplaza;
	BOOL			bIniciaArrastre;
	GuiDrawLayer	m_wd;
	BOOL			m_EnableL;
	BOOL			m_EnableR;
protected:

	//{{AFX_MSG(CGuiWorkTab)
		afx_msg void OnLButtonDown(UINT nFlags, CPoint point);
		afx_msg void OnLButtonUp(UINT nFlags, CPoint point);
		afx_msg void OnMouseMove(UINT nFlags, CPoint point);
		afx_msg BOOL OnSetCursor(CWnd* pWnd, UINT nHitTest, UINT message);
		afx_msg void OnSysColorChange(); 
		afx_msg void OnPaint();
	//}}AFX_MSG

	DECLARE_MESSAGE_MAP()
public:
	afx_msg void OnWindowPosChanging(WINDOWPOS* lpwndpos);
	afx_msg void OnSize(UINT nType, int cx, int cy);
};

#endif // !defined(AFX_GUIWORKTAB_H__A711D725_2268_4750_B58E_5218AD3BC0A5__INCLUDED_)

⌨️ 快捷键说明

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