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

📄 mybookbutton.h

📁 此程序是基于BC4的蓝牙CE应用程序
💻 H
字号:
#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 + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -