syntax error : missing ';' before '<'

多多指教 多多指教 墨衍会员 · AI 创作全网分发 墨衍智能分发 通过墨衍一键同步至各平台 可同步平台 CSDN微信公众号微博知乎掘金百家号博客园抖音小红书 你的文章也可以这样分发 墨衍会员 ¥399起/年,写一次发全网 我也要 + 加入社区
代码如下:
错误:syntax error : missing ';' before '<'
原工程是vs2005的,我在vc6.0下编译有误。如题所示。求指点。
#pragma once


class CListCtrl_Column_Picker : public CListCtrl
{
struct ColumnState
{
ColumnState()
:m_Visible(false)
,m_OrgWidth(0)
,m_OrgPosition(-1)
{}
bool m_Visible;
int m_OrgWidth; // Width it had before being hidden
int m_OrgPosition; // Position it had before being hidden
};
CSimpleArray<ColumnState> m_ColumnStates;//error here,提示这里错误如题
int GetColumnStateCount();
void InsertColumnState(int nCol, bool bVisible, int nOrgWidth = 0);
void DeleteColumnState(int nCol);
ColumnState& GetColumnState(int nCol);

DECLARE_MESSAGE_MAP()

virtual afx_msg void OnKeyDown(UINT nChar, UINT nRepCnt, UINT nFlags);
virtual afx_msg LRESULT OnDeleteColumn(WPARAM wParam, LPARAM lParam);
virtual afx_msg LRESULT OnInsertColumn(WPARAM wParam, LPARAM lParam);
virtual afx_msg LRESULT OnSetColumnWidth(WPARAM wParam, LPARAM lParam);
virtual afx_msg BOOL OnHeaderBeginResize(UINT id, NMHDR* pNmhdr, LRESULT* pResult);
virtual afx_msg BOOL OnHeaderEndDrag(UINT id, NMHDR* pNmhdr, LRESULT* pResult);
virtual afx_msg void OnContextMenu(CWnd*, CPoint point);
virtual BOOL OnCommand(WPARAM wParam, LPARAM lParam);

virtual void PreSubclassWindow();

public:
bool IsColumnVisible(int nCol);
int GetFirstVisibleColumn();
BOOL ShowColumn(int nCol, bool bShow);
BOOL SetColumnWidthAuto(int nCol = -1, bool includeHeader = false);
};
...全文
评论 13
收藏 已收藏
分享
返回顶部
多多指教
界面 15,976 成员 115,866 内容