cjbutton.h

来自「波峰焊后台控制软件-英文版」· C头文件 代码 · 共 67 行

H
67
字号
#if !defined(AFX_CJBUTTON_H__4F50589B_86E4_4692_A5FA_5BECA80AE1EB__INCLUDED_)
#define AFX_CJBUTTON_H__4F50589B_86E4_4692_A5FA_5BECA80AE1EB__INCLUDED_

#if _MSC_VER >= 1000
#pragma once
#endif // _MSC_VER >= 1000
// CJButton.h : header file
//

/////////////////////////////////////////////////////////////////////////////
// CCJButton window
class CCJButton : public CButton
{
// Construction
public:
	CCJButton();
	UINT		m_nColor;
	UINT		m_nState;
	bool		m_bLBtnDown;
	bool		m_bFlatLook;
	CRect		m_rcItem;
	int		    m_JFlag;
    int         m_dot_flag;


// Attributes
public:

// Operations
public:

// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CCJButton)
	public:
	virtual void DrawItem(LPDRAWITEMSTRUCT lpDrawItemStruct);
	//}}AFX_VIRTUAL

// Implementation
public:
	virtual ~CCJButton();

	// Generated message map functions
protected:
	//{{AFX_MSG(CCJButton)
	afx_msg void OnMouseMove(UINT nFlags, CPoint point);
	afx_msg void OnLButtonDown(UINT nFlags, CPoint point);
	afx_msg void OnLButtonUp(UINT nFlags, CPoint point);
	afx_msg void OnTimer(UINT nIDEvent);
	afx_msg void OnKeyDown(UINT nChar, UINT nRepCnt, UINT nFlags);
	afx_msg void OnKeyUp(UINT nChar, UINT nRepCnt, UINT nFlags);
	//}}AFX_MSG


	DECLARE_MESSAGE_MAP()
};




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

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

#endif // !defined(AFX_CJBUTTON_H__4F50589B_86E4_4692_A5FA_5BECA80AE1EB__INCLUDED_)

⌨️ 快捷键说明

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