00001 #if !defined(AFX_ASPECTSPECTBL_H__62A172B9_B4D4_497D_B466_B7BB7BF98B7F__INCLUDED_)
00002 #define AFX_ASPECTSPECTBL_H__62A172B9_B4D4_497D_B466_B7BB7BF98B7F__INCLUDED_
00003
00004 #if _MSC_VER > 1000
00005 #pragma once
00006 #endif // _MSC_VER > 1000
00007
00008 #include <AFXCMN.H>
00009
00010
00011
00012
00014
00015
00016 class CAspectSpecTbl : public CListCtrl
00017 {
00018
00019 public:
00020 CAspectSpecTbl();
00021
00022
00023 public:
00024
00025
00026 public:
00027
00028
00029
00030
00031
00032
00033
00034 public:
00035 CImageList m_checkImages;
00036 bool GetRow(int rowID, CString &role, CString& kindAspect, CString& isPrimary);
00037 void AddRow(int rowID, CString& role, CString& kindAspect, CString& isPrimary);
00038 virtual ~CAspectSpecTbl();
00039 int HitTestEx(CPoint &point, int *col) const;
00040 CEdit* EditSubLabel( int nItem, int nCol );
00041 CComboBox* ShowInPlaceList( int nItem, int nCol, CStringList &lstItems, int nSel );
00042
00043
00044 protected:
00045
00046 afx_msg void OnEndlabeledit(NMHDR* pNMHDR, LRESULT* pResult);
00047 afx_msg void OnHScroll(UINT nSBCode, UINT nPos, CScrollBar* pScrollBar);
00048 afx_msg void OnVScroll(UINT nSBCode, UINT nPos, CScrollBar* pScrollBar);
00049 afx_msg void OnLButtonDown(UINT nFlags, CPoint point);
00050 afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct);
00051
00052
00053 DECLARE_MESSAGE_MAP()
00054 };
00055
00057
00058
00059
00060
00061 #endif // !defined(AFX_ASPECTSPECTBL_H__62A172B9_B4D4_497D_B466_B7BB7BF98B7F__INCLUDED_)