www.pudn.com > measureear.rar > measureDlg.h
// measureDlg.h : header file
//
#if !defined(AFX_MEASUREDLG_H__6DF2CC4D_8FA9_4F7E_9ACE_4330A767CFBE__INCLUDED_)
#define AFX_MEASUREDLG_H__6DF2CC4D_8FA9_4F7E_9ACE_4330A767CFBE__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
#include "XY.h"
/////////////////////////////////////////////////////////////////////////////
// CMeasureDlg dialog
class CMeasureDlg : public CDialog
{
// Construction
public:
CMeasureDlg(CWnd* pParent = NULL); // standard constructor
CBitmap m_bmp;
double X[16];
double Y[16];
double Z[8];
double S[8];
int i;
bool flag;
HBITMAP m_hPhotoBitmap; //λͼ¾ä±ú
DWORD m_nFileLen;
HBITMAP BufferToHBITMAP();
BOOL LoadBMPFile(const char* pBMPPathname);
char *m_pBMPBuffer; //ÄÚ´æÊý¾Ý
void DestroyPhoto();
void DrawUserPhoto(int x,int y,CDC* pDC);
// Dialog Data
//{{AFX_DATA(CMeasureDlg)
enum { IDD = IDD_MEASURE_DIALOG };
CString m_edit4;
CString m_edit5;
CString m_edit6;
CString m_edit7;
CString m_edit8;
CString m_edit9;
double m_xPos;
double m_yPos;
CString m_edit3;
//}}AFX_DATA
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CMeasureDlg)
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
//}}AFX_VIRTUAL
// Implementation
protected:
HICON m_hIcon;
// Generated message map functions
//{{AFX_MSG(CMeasureDlg)
virtual BOOL OnInitDialog();
afx_msg void OnSysCommand(UINT nID, LPARAM lParam);
afx_msg void OnPaint();
afx_msg HCURSOR OnQueryDragIcon();
afx_msg void OnButton1();
afx_msg void OnButton2();
afx_msg void OnRButtonUp(UINT nFlags, CPoint point);
afx_msg void OnButton3();
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
};
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_MEASUREDLG_H__6DF2CC4D_8FA9_4F7E_9ACE_4330A767CFBE__INCLUDED_)