mybookbutton.h

来自「这是一个基于wince串口的蓝牙通讯程序,是用evc开发的,cpu是rmi的au」· C头文件 代码 · 共 64 行

H
64
字号
#if !defined(AFX_MYBOOKBUTTON_H__C60FBA35_E569_4D92_9F51_2614E89858B2__INCLUDED_)
#define AFX_MYBOOKBUTTON_H__C60FBA35_E569_4D92_9F51_2614E89858B2__INCLUDED_

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

/////////////////////////////////////////////////////////////////////////////
// CMyBookButton window

class CMyBookButton : public CButton
{
// Construction
public:
	CMyBookButton();
    void CreateButton(DWORD dwStyle, const RECT& rect, CWnd* pParentWnd, UINT nID,
		CString dialnumber);
 
// Attributes
public:
	LOGFONT lf1;
// Operations
public:
    unsigned  int button_down_flg;
    unsigned  int button_up_flg;
// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CMyBookButton)
	public:
	virtual void DrawItem(LPDRAWITEMSTRUCT lpDrawItemStruct);
	//}}AFX_VIRTUAL

// Implementation
public:
	CString number_string;
	UINT number_nID;
	DWORD flg_MouseMoveToRect;
	virtual ~CMyBookButton();
    
	// Generated message map functions
protected:
	//{{AFX_MSG(CMyBookButton)
	afx_msg void OnPaint();
	afx_msg void OnLButtonDown(UINT nFlags, CPoint point);
	afx_msg void OnLButtonUp(UINT nFlags, CPoint point);
	afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct);
	afx_msg void OnMouseMove(UINT nFlags, CPoint point);
	afx_msg void OnActivate(UINT nState, CWnd* pWndOther, BOOL bMinimized);
	afx_msg void OnKillFocus(CWnd* pNewWnd);
	afx_msg void OnCancelMode();
	//}}AFX_MSG

	DECLARE_MESSAGE_MAP()
};

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

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

#endif // !defined(AFX_MYBOOKBUTTON_H__C60FBA35_E569_4D92_9F51_2614E89858B2__INCLUDED_)

⌨️ 快捷键说明

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