www.pudn.com > CTree.rar > CTreeDlg.h
// CTreeDlg.h : header file
//
#if !defined(AFX_CTREEDLG_H__45BFB79D_0B6F_4DAF_B3A7_C8215CCAF6CF__INCLUDED_)
#define AFX_CTREEDLG_H__45BFB79D_0B6F_4DAF_B3A7_C8215CCAF6CF__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
/////////////////////////////////////////////////////////////////////////////
// CCTreeDlg dialog
typedef struct
{
int PointID;
double x;
double y;
}CMyPoint;
class CCTreeDlg : public CDialog
{
// Construction
public:
BOOL ReadWucapFile(CString FilePath,int stripNum);
void GetData(HTREEITEM hParent,int strip);
CCTreeDlg(CWnd* pParent = NULL); // standard constructor
// Dialog Data
//{{AFX_DATA(CCTreeDlg)
enum { IDD = IDD_CTREE_DIALOG };
CStatic m_Static;
CTreeCtrl m_Tree;
int m_ClickNum;
int m_StripNum;
int *pPhotoOfStrip;
//}}AFX_DATA
HTREEITEM m_hRoot;
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(CCTreeDlg)
protected:
virtual void DoDataExchange(CDataExchange* pDX); // DDX/DDV support
//}}AFX_VIRTUAL
// Implementation
protected:
HICON m_hIcon;
// Generated message map functions
//{{AFX_MSG(CCTreeDlg)
virtual BOOL OnInitDialog();
afx_msg void OnSysCommand(UINT nID, LPARAM lParam);
afx_msg void OnPaint();
afx_msg HCURSOR OnQueryDragIcon();
afx_msg void OnSelchangedTree1(NMHDR* pNMHDR, LRESULT* pResult);
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
private:
CString m_strTempFilePath;
};
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_CTREEDLG_H__45BFB79D_0B6F_4DAF_B3A7_C8215CCAF6CF__INCLUDED_)