how to use wbbuttondlg.h

来自「让VC初学者练习制作位图按钮」· C头文件 代码 · 共 58 行

H
58
字号
// how to use WBBUTTONDlg.h : header file
//
#include "WBButton.h"
#include "AutoFont.h"


#if !defined(AFX_HOWTOUSEWBBUTTONDLG_H__1803F3D8_67B0_4DD6_BAEE_4C1DFF895E66__INCLUDED_)
#define AFX_HOWTOUSEWBBUTTONDLG_H__1803F3D8_67B0_4DD6_BAEE_4C1DFF895E66__INCLUDED_

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

/////////////////////////////////////////////////////////////////////////////
// CHowtouseWBBUTTONDlg dialog

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

// Dialog Data
	//{{AFX_DATA(CHowtouseWBBUTTONDlg)
	enum { IDD = IDD_HOWTOUSEWBBUTTON_DIALOG };
	CWBButton	m_button6;
	CWBButton	m_button5;
	CWBButton	m_button4;
	CWBButton	m_button3;
	CWBButton	m_button2;
	CWBButton	m_button1;
	//}}AFX_DATA

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

// Implementation
protected:
	HICON m_hIcon;

	// Generated message map functions
	//{{AFX_MSG(CHowtouseWBBUTTONDlg)
	virtual BOOL OnInitDialog();
	afx_msg void OnSysCommand(UINT nID, LPARAM lParam);
	afx_msg void OnPaint();
	afx_msg HCURSOR OnQueryDragIcon();
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
};

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

#endif // !defined(AFX_HOWTOUSEWBBUTTONDLG_H__1803F3D8_67B0_4DD6_BAEE_4C1DFF895E66__INCLUDED_)

⌨️ 快捷键说明

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