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

📄 bxselbtn.h

📁 ResOrg 图形化管理Vc项目的资源ID的工具的源代码。 ResOrg - Manage and Renumber Resource Symbol IDs Introduction The
💻 H
字号:
/////////////////////////////////////////////////////////////////////////////
// BXSelBtn.h : header file
// 
// Windows 2000 / Office 2000 style file dialog.
// 
// This WILL work on Win 95 / 98 / NT 4 / NT 5 (2000) / WinME
// 
/////////////////////////////////////////////////////////////////////////////

#if !defined(__BXSelBtn_H__)
#define __BXSelBtn_H__

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000

// BXSelBtn.h : header file
//
/////////////////////////////////////////////////////////////////////////////
// BXSelBtn window

class BXSelBtn : public CWnd
{
// Construction
public:
	BXSelBtn();

// Attributes
public:
  BOOL Create( LPCTSTR lpszCaption, DWORD dwStyle, const RECT& rect, CWnd* pParentWnd, UINT nID, CImageList* pImage, UINT nPos );

// Operations
public:

// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(BXSelBtn)
	//}}AFX_VIRTUAL

// Implementation
public:
	void SetState(BOOL bPressed);
	BOOL SetImage(UINT nId, COLORREF crMask);
	virtual ~BXSelBtn();
	CBitmap      m_btnImage;
	CImageList*   m_pIL;
	BOOL         m_bLoaded;
	BITMAP       m_bm;
	CWnd*        m_pParentWnd;
	BOOL		   m_Pressed;
	UINT         m_nPos;
	CString      m_strText;
	UINT         m_nID;

	BOOL			m_MouseOnButton;
	BOOL			m_DrawPressed;
	BOOL			m_Enabled;

	// Generated message map functions
protected:
	//{{AFX_MSG(BXSelBtn)
	afx_msg void OnLButtonDown(UINT nFlags, CPoint point);
	afx_msg void OnLButtonUp(UINT nFlags, CPoint point);
	afx_msg void OnPaint();
	afx_msg BOOL OnEraseBkgnd(CDC* pDC);
	afx_msg void OnMouseMove(UINT nFlags, CPoint point);
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
};

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

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

#endif // !defined(__BXSelBtn_H__)

⌨️ 快捷键说明

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