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

📄 objwnd.h

📁 根据菲涅耳衍射原理编写的光学衍射模拟程序
💻 H
字号:
#if !defined(AFX_OBJWND_H__56005345_1B6D_45ED_B7A1_D3E24C0042D0__INCLUDED_)
#define AFX_OBJWND_H__56005345_1B6D_45ED_B7A1_D3E24C0042D0__INCLUDED_

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

#define BMPMAX	11
/////////////////////////////////////////////////////////////////////////////
// CObjwnd window
class COpticalDlg;

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

// Attributes
public:
	COpticalDlg* pdlg;
	BOOL bsta;
	int bmpid;
	int ww,hh;
	CDC* pmdc;
	CBitmap bmp;
	Complex* opix;
// Operations
protected:

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

// Implementation
public:
	void ReDrawDC(int rate);
	BOOL CreateWnd(CWnd* pparent,RECT &rect,BOOL bstatic=FALSE);
	virtual ~CObjwnd();

	// Generated message map functions
protected:
	//{{AFX_MSG(CObjwnd)
	afx_msg BOOL OnEraseBkgnd(CDC* pDC);
	afx_msg void OnPaint();
	afx_msg void OnLButtonUp(UINT nFlags, CPoint point);
	afx_msg void OnRButtonUp(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_OBJWND_H__56005345_1B6D_45ED_B7A1_D3E24C0042D0__INCLUDED_)

⌨️ 快捷键说明

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