Files
geomative/GeomativeStudio/h/opcreatesptreclistview.h
coco df489d5640 a
2026-07-03 16:05:30 +08:00

77 lines
2.1 KiB
C++

#if !defined(AFX_OPCREATESPTRECLISTVIEW_H__B6F1669C_96F4_4C90_8A0A_3B053CF45B98__INCLUDED_)
#define AFX_OPCREATESPTRECLISTVIEW_H__B6F1669C_96F4_4C90_8A0A_3B053CF45B98__INCLUDED_
#include "Channel.h"
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// opcreatesptreclistview.h : header file
//
class CSptRecord;
/////////////////////////////////////////////////////////////////////////////
// COpCreateSptRecListView view
class COpCreateSptRecListView : public CListView
{
protected:
COpCreateSptRecListView(); // protected constructor used by dynamic creation
DECLARE_DYNCREATE(COpCreateSptRecListView)
// Attributes
public:
CChannel* m_pNewChannel;
BOOL m_bSelRec;
BOOL m_bRBDown;
// Operations
public:
// Overrides
// ClassWizard generated virtual function overrides
//{{AFX_VIRTUAL(COpCreateSptRecListView)
public:
virtual void OnInitialUpdate();
protected:
virtual void OnDraw(CDC* pDC); // overridden to draw this view
virtual BOOL PreCreateWindow(CREATESTRUCT& cs);
//}}AFX_VIRTUAL
// Implementation
protected:
virtual ~COpCreateSptRecListView();
#ifdef _DEBUG
virtual void AssertValid() const;
virtual void Dump(CDumpContext& dc) const;
#endif
// Generated message map functions
protected:
//{{AFX_MSG(COpCreateSptRecListView)
afx_msg void OnClick(NMHDR* pNMHDR, LRESULT* pResult);
afx_msg void OnLButtonDown(UINT nFlags, CPoint point);
afx_msg void OnItemchanged(NMHDR* pNMHDR, LRESULT* pResult);
afx_msg void OnOpSptTpGn();
afx_msg void OnRclick(NMHDR* pNMHDR, LRESULT* pResult);
afx_msg void OnKeydown(NMHDR* pNMHDR, LRESULT* pResult);
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
private:
void SetNToSelLevel(int iN, int iSelLevel);
void SetNUnderCurLevel(int iN);
void SetNToLevel(int iN);
void SetNToPoint(int iN);
CSptRecord* m_pCurSptRecord;
public:
void ChangeListHeaderOrder(std::vector<int> vtOrder);
};
/////////////////////////////////////////////////////////////////////////////
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_OPCREATESPTRECLISTVIEW_H__B6F1669C_96F4_4C90_8A0A_3B053CF45B98__INCLUDED_)