www.pudn.com > JingXiang-Design-Jeff.rar > HistogramShow.h
#if !defined(AFX_HISTOGRAMSHOW_H__F7B07200_2869_11D4_A611_DA78ACF28104__INCLUDED_)
#define AFX_HISTOGRAMSHOW_H__F7B07200_2869_11D4_A611_DA78ACF28104__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// HistogramShow.h : header file
//
/////////////////////////////////////////////////////////////////////////////
// HistogramShow dialog
class HistogramShow : public CDialog
{
// Construction
public:
BOOL EmptyNumOfGray(void);
int TotalLenth;
BOOL Showed_Ok;
int m_Ratio;
void DrawCoordinate(CDC *pDC,COLORREF Color=RGB(0,0,0));
int OrgX;
int OrgY;
COLORREF mForeColor;
void GetSelfClientRect(void);
RECT mRect;
void GetParent(CWnd* pParent);
CWnd* pTheParent;
HistogramShow(CWnd* pParent = NULL); // standard constructor
// Dialog Data
//{{AFX_DATA(HistogramShow)
enum { IDD = IDD_HISTOGRAM };
int m_NumOfGray;
int m_CurrentGray;
int m_Current_x;
int m_Current_y;
int m_Gray_Inside;
float m_Current_Ratio;
//}}AFX_DATA
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(HistogramShow)
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
virtual void PostNcDestroy();
virtual BOOL PreCreateWindow(CREATESTRUCT& cs);
//}}AFX_VIRTUAL
// Implementation
protected:
// Generated message map functions
//{{AFX_MSG(HistogramShow)
afx_msg void OnPaint();
afx_msg void OnColorButton();
afx_msg void OnDown();
afx_msg void OnUp();
afx_msg void OnClose();
afx_msg void OnRButtonUp(UINT nFlags, CPoint point);
afx_msg void OnBack();
afx_msg void OnBestview();
afx_msg void OnDetailView();
afx_msg void OnRefresh();
afx_msg void OnMouseMove(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_HISTOGRAMSHOW_H__F7B07200_2869_11D4_A611_DA78ACF28104__INCLUDED_)