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

📄 slidetoolbar.h

📁 c++系统开发实例精粹内附的80例源代码 环境:windows2000,c++6.0
💻 H
字号:

#if !defined(AFX_SLIDETOOLBAR_H__992196A1_7C20_11D4_BEC3_B9FC12288B45__INCLUDED_)
#define AFX_SLIDETOOLBAR_H__992196A1_7C20_11D4_BEC3_B9FC12288B45__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// SlideToolBar.h : header file
//
/////////////////////////////////////////////////////////////////////////////
// CSlideToolBar window

class CSlideToolBar : public CToolBar
{
// Construction
public:
	CSlideToolBar();

// Attributes
public:
	
	// X Rotation Set 
	CSliderCtrl m_wndSlider_Rot_X;
	CEdit m_wndEdit_Rot_X;
	CSpinButtonCtrl m_wndSpin_Rot_X;

	// Y Rotation Set 
	CSliderCtrl m_wndSlider_Rot_Y;
	CEdit m_wndEdit_Rot_Y;
	CSpinButtonCtrl m_wndSpin_Rot_Y;

	// Z Rotation Set 
	CSliderCtrl m_wndSlider_Rot_Z;
	CEdit m_wndEdit_Rot_Z;
	CSpinButtonCtrl m_wndSpin_Rot_Z;

	// Font used to fill the edit controls
	CFont m_font;


	int	m_nRotation[3];
		   

// Operations
public:

	void SetPositions();

// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CSlideToolBar)
	//}}AFX_VIRTUAL

// Implementation
public:
	void UpdateValues();
	virtual ~CSlideToolBar();

	// Generated message map functions
protected:
	//{{AFX_MSG(CSlideToolBar)
	afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct);
	afx_msg void OnHScroll(UINT nSBCode, UINT nPos, CScrollBar* pScrollBar);
	//}}AFX_MSG

	DECLARE_MESSAGE_MAP()
};

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

//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.

#endif // !defined(AFX_SLIDETOOLBAR_H__992196A1_7C20_11D4_BEC3_B9FC12288B45__INCLUDED_)

⌨️ 快捷键说明

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