VC6中列表框添加代码出错?
下面是代码:m_list是列表框变量出错代码:C:\ProgramFiles\MicrosoftVisualStudio\MyProjects\5545\5545Dlg....
下面是代码:
m_list是列表框变量
出错代码:
C:\Program Files\Microsoft Visual Studio\MyProjects\5545\5545Dlg.cpp(111) : error C2039: 'SetExtendedStyle' : is not a member of 'CListBox' c:\program files\microsoft visual studio\vc98\mfc\include\afxwin.h(2741) : see declaration of 'CListBox'C:\Program Files\Microsoft Visual Studio\MyProjects\5545\5545Dlg.cpp(116) : error C2039: 'InsertColumn' : is not a member of 'CListBox' c:\program files\microsoft visual studio\vc98\mfc\include\afxwin.h(2741) : see declaration of 'CListBox'C:\Program Files\Microsoft Visual Studio\MyProjects\5545\5545Dlg.cpp(118) : error C2039: 'InsertColumn' : is not a member of 'CListBox' c:\program files\microsoft visual studio\vc98\mfc\include\afxwin.h(2741) : see declaration of 'CListBox'C:\Program Files\Microsoft Visual Studio\MyProjects\5545\5545Dlg.cpp(120) : error C2039: 'InsertColumn' : is not a member of 'CListBox' c:\program files\microsoft visual studio\vc98\mfc\include\afxwin.h(2741) : see declaration of 'CListBox'C:\Program Files\Microsoft Visual Studio\MyProjects\5545\5545Dlg.cpp(122) : error C2039: 'InsertColumn' : is not a member of 'CListBox' c:\program files\microsoft visual studio\vc98\mfc\include\afxwin.h(2741) : see declaration of 'CListBox'C:\Program Files\Microsoft Visual Studio\MyProjects\5545\5545Dlg.cpp(126) : error C2660: 'SetColumnWidth' : function does not take 2 parametersC:\Program Files\Microsoft Visual Studio\MyProjects\5545\5545Dlg.cpp(128) : error C2660: 'SetColumnWidth' : function does not take 2 parametersC:\Program Files\Microsoft Visual Studio\MyProjects\5545\5545Dlg.cpp(130) : error C2660: 'SetColumnWidth' : function does not take 2 parametersC:\Program Files\Microsoft Visual Studio\MyProjects\5545\5545Dlg.cpp(132) : error C2660: 'SetColumnWidth' : function does not take 2 parameters执行 cl.exe 时出错.
5545.exe - 1 error(s), 0 warning(s) 展开
m_list是列表框变量
出错代码:
C:\Program Files\Microsoft Visual Studio\MyProjects\5545\5545Dlg.cpp(111) : error C2039: 'SetExtendedStyle' : is not a member of 'CListBox' c:\program files\microsoft visual studio\vc98\mfc\include\afxwin.h(2741) : see declaration of 'CListBox'C:\Program Files\Microsoft Visual Studio\MyProjects\5545\5545Dlg.cpp(116) : error C2039: 'InsertColumn' : is not a member of 'CListBox' c:\program files\microsoft visual studio\vc98\mfc\include\afxwin.h(2741) : see declaration of 'CListBox'C:\Program Files\Microsoft Visual Studio\MyProjects\5545\5545Dlg.cpp(118) : error C2039: 'InsertColumn' : is not a member of 'CListBox' c:\program files\microsoft visual studio\vc98\mfc\include\afxwin.h(2741) : see declaration of 'CListBox'C:\Program Files\Microsoft Visual Studio\MyProjects\5545\5545Dlg.cpp(120) : error C2039: 'InsertColumn' : is not a member of 'CListBox' c:\program files\microsoft visual studio\vc98\mfc\include\afxwin.h(2741) : see declaration of 'CListBox'C:\Program Files\Microsoft Visual Studio\MyProjects\5545\5545Dlg.cpp(122) : error C2039: 'InsertColumn' : is not a member of 'CListBox' c:\program files\microsoft visual studio\vc98\mfc\include\afxwin.h(2741) : see declaration of 'CListBox'C:\Program Files\Microsoft Visual Studio\MyProjects\5545\5545Dlg.cpp(126) : error C2660: 'SetColumnWidth' : function does not take 2 parametersC:\Program Files\Microsoft Visual Studio\MyProjects\5545\5545Dlg.cpp(128) : error C2660: 'SetColumnWidth' : function does not take 2 parametersC:\Program Files\Microsoft Visual Studio\MyProjects\5545\5545Dlg.cpp(130) : error C2660: 'SetColumnWidth' : function does not take 2 parametersC:\Program Files\Microsoft Visual Studio\MyProjects\5545\5545Dlg.cpp(132) : error C2660: 'SetColumnWidth' : function does not take 2 parameters执行 cl.exe 时出错.
5545.exe - 1 error(s), 0 warning(s) 展开
1个回答
推荐律师服务:
若未解决您的问题,请您详细描述您的问题,通过百度律临进行免费专业咨询