bmpbutsdlg.h

来自「位图按钮源代码程序文件 SimpleBits.zip」· C头文件 代码 · 共 62 行

H
62
字号
// BmpButsDlg.h : header file
//

#if !defined(AFX_BMPBUTSDLG_H__76044805_B8E7_11D5_8A13_00E0293DE0CC__INCLUDED_)
#define AFX_BMPBUTSDLG_H__76044805_B8E7_11D5_8A13_00E0293DE0CC__INCLUDED_

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

#include "BmpButton.h"

/////////////////////////////////////////////////////////////////////////////
// CBmpButsDlg dialog

class CBmpButsDlg : public CDialog
{
// Construction
public:
	CBmpButsDlg(CWnd* pParent = NULL);	// standard constructor

// Dialog Data
	//{{AFX_DATA(CBmpButsDlg)
	enum { IDD = IDD_BMPBUTS_DIALOG };
	CBmpButton	m_textButton;
	CBmpButton	m_exitButton;
	CBmpButton	m_dateButton;
	//}}AFX_DATA

	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CBmpButsDlg)
	protected:
	virtual void DoDataExchange(CDataExchange* pDX);	// DDX/DDV support
	//}}AFX_VIRTUAL

// Implementation
protected:
	HICON m_hIcon;

	HRGN BitmapRegion(HBITMAP hBitmap,COLORREF cTransparentColor=RGB(0,0,0),
						BOOL bIsTransparent=TRUE);

	// Generated message map functions
	//{{AFX_MSG(CBmpButsDlg)
	virtual BOOL OnInitDialog();
	afx_msg void OnPaint();
	afx_msg HCURSOR OnQueryDragIcon();
	afx_msg void OnStaticExit();
	afx_msg void OnStaticDate();
	afx_msg void OnStaticText();
	afx_msg void OnMouseMove(UINT nFlags, CPoint point);
	afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct);
	afx_msg void OnLButtonDown(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(AFX_BMPBUTSDLG_H__76044805_B8E7_11D5_8A13_00E0293DE0CC__INCLUDED_)

⌨️ 快捷键说明

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