picture.h

来自「一个关于画图的简单的程序」· C头文件 代码 · 共 62 行

H
62 行
字号
#if !defined(AFX_PICTURE_H__B231B626_7D5E_4C52_9B0B_F95F27C4E88A__INCLUDED_)
#define AFX_PICTURE_H__B231B626_7D5E_4C52_9B0B_F95F27C4E88A__INCLUDED_

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

/////////////////////////////////////////////////////////////////////////////
// PICTURE dialog

class PICTURE : public CDialog
{
// Construction
public:
	int blue;
	int green;
	int red;
	PICTURE(CWnd* pParent = NULL);   // standard constructor


	int rect;
// Dialog Data
	//{{AFX_DATA(PICTURE)
	enum { IDD = IDD_PICTURE };
	CString	m_show;
	//}}AFX_DATA


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

// Implementation
protected:

	// Generated message map functions
	//{{AFX_MSG(PICTURE)
	afx_msg void OnJuxing();
	afx_msg void OnTuoyuan();
	virtual void OnOK();
	afx_msg void OnPaint();
	afx_msg void OnBlack();
	afx_msg void OnQing();
	afx_msg void OnBlue();
	afx_msg void OnGreen();
	afx_msg void OnRed();
	afx_msg void OnWhite();
	afx_msg void OnYellow();
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
};

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

#endif // !defined(AFX_PICTURE_H__B231B626_7D5E_4C52_9B0B_F95F27C4E88A__INCLUDED_)

⌨️ 快捷键说明

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