staticex.h

来自「用bcg库编写的java IDE 源码」· C头文件 代码 · 共 72 行

H
72
字号
#if !defined(AFX_STATICEX_H__1A4546FD_0BB4_4516_960F_17DFDC6ED3D2__INCLUDED_)
#define AFX_STATICEX_H__1A4546FD_0BB4_4516_960F_17DFDC6ED3D2__INCLUDED_

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

static const UINT NEAR PN_MESSAGE_UPDATEDATA = RegisterWindowMessage(_T("PN_MESSAGE_UPDATEDATA"));
static const UINT NEAR PN_MESSAGE_LOADDATA = RegisterWindowMessage(_T("PN_MESSAGE_LOADDATA"));

#define ON_PN_UPDATEDATA(memberFxn)  \
     ON_REGISTERED_MESSAGE(PN_MESSAGE_UPDATEDATA,memberFxn)


#define ON_PN_LOADDATA(memberFxn)  \
     ON_REGISTERED_MESSAGE(PN_MESSAGE_LOADDATA,memberFxn)
/////////////////////////////////////////////////////////////////////////////
// CStaticEx window
#include "RelationalCheckList.h"
class CRelationalCheckList;

class CStaticEx : public CWnd//CButton//CStatic
{
// Construction
public:
	CStaticEx();
    CStaticEx(CRelationalCheckList* pBuddy);
// Attributes
public:

// Operations
public:
  BOOL Create(CWnd* pParentWnd, UINT nStyle=0, UINT nID=0);

// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CStaticEx)
	public:
	protected:
	virtual BOOL PreCreateWindow(CREATESTRUCT& cs);
	//}}AFX_VIRTUAL
// Implementation
public:
   void HideItems();
   virtual ~CStaticEx();
   CRelationalCheckList* m_pBuddy;
   CRect m_rcClose;
	// Generated message map functions
protected:
	//{{AFX_MSG(CStaticEx)
	afx_msg void OnPaint();
	afx_msg void OnShowWindow(BOOL bShow, UINT nStatus);
	//}}AFX_MSG
    static CStaticEx* m_pThis;
    afx_msg void OnNcPaint();
    afx_msg UINT OnNcHitTest(CPoint point);
    afx_msg void OnNcLButtonUp(UINT nHitTest, CPoint point);
    afx_msg void OnNcLButtonDown(UINT nHitTest, CPoint point);
    afx_msg void OnLButtonDown(UINT nHitTest, CPoint point);
    afx_msg void OnNcCalcSize(BOOL bCalcValidRects, NCCALCSIZE_PARAMS FAR* lpncsp);
	DECLARE_MESSAGE_MAP()
};

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

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

#endif // !defined(AFX_STATICEX_H__1A4546FD_0BB4_4516_960F_17DFDC6ED3D2__INCLUDED_)

⌨️ 快捷键说明

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