syntax error : missing ';' before '<'
代码如下:
错误:syntax error : missing ';' before '<'
原工程是vs2005的,我在vc6.0下编译有误。如题所示。求指点。
错误: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);
};
...全文
相关推荐
evc 转换到 vs2005的若干问题
描述了evc 到vs2005代码转换的一些问题, 方便vs2005下的嵌入式程序开发
jQuery插件ajaxFileUpload使用详解
主要为大家详细介绍了jQuery插件ajaxFileUpload使用教程,具有一定的参考价值,感兴趣的小伙伴们可以参考一下
编译器中文翻译
给出了初学者在编程过程中,编译软件中对出现的常见错误的一些中文翻译,能够加深理解和记忆
我们新手C++常见的错误
新手入门级的资料文档,共六章,如有错误快快指正谢谢
PHP Parse Error: syntax error, unexpected $end 错误的解决办法
今天帮客户配置服务器,访问php的时候提示PHP Parse Error: syntax error, unexpected $end 错误,通过查找找到了问题,特分享下


界面
