platecenterctrl.h

来自「一个完整的数字硬盘录像机系统软件」· C头文件 代码 · 共 57 行

H
57
字号
#if !defined(AFX_PLATECENTERCTRL_H__BED230A6_33DE_11D5_9B34_0050FC217301__INCLUDED_)
#define AFX_PLATECENTERCTRL_H__BED230A6_33DE_11D5_9B34_0050FC217301__INCLUDED_

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

/////////////////////////////////////////////////////////////////////////////
// CPlateCenterCtrl window

class CPlateCenterCtrl : public CWnd
{
// Construction
public:
	CPlateCenterCtrl();
// Attributes
public:
   int              m_nStates; 
   CToolTipCtrl*    m_pToolTip;
   CRect            m_rectSearch;
   CString          m_sCaption;
   CPoint           m_ptBorder[BORDER_NUM];
// Operations
public:
   void             CreateTooltips();
// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CPlateCenterCtrl)
	public:
	virtual BOOL Create(CString sCaption,CRect rect, CWnd* pParentWnd, UINT nID);
	virtual BOOL PreTranslateMessage(MSG* pMsg);
	//}}AFX_VIRTUAL

// Implementation
public:
	virtual ~CPlateCenterCtrl();
	// Generated message map functions
protected:
	//{{AFX_MSG(CPlateCenterCtrl)
	afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct);
	afx_msg void OnLButtonDown(UINT nFlags, CPoint point);
	afx_msg void OnLButtonUp(UINT nFlags, CPoint point);
	afx_msg void OnPaint();
	//}}AFX_MSG
	afx_msg BOOL OnToolTipNotify(UINT id, NMHDR *pNMH, LRESULT *pResult); 
	DECLARE_MESSAGE_MAP()
};

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

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

#endif // !defined(AFX_PLATECENTERCTRL_H__BED230A6_33DE_11D5_9B34_0050FC217301__INCLUDED_)

⌨️ 快捷键说明

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