| 网站首页 | 业界新闻 | 小组 | 威客 | 人才 | 下载频道 | 博客 | 代码贴 | 在线编程 | 编程论坛
欢迎加入我们,一同切磋技术
用户名:   
 
密 码:  
共有 1494 人关注过本帖
标题:error C2064: term does not evaluate to a function
只看楼主 加入收藏
cctv2cctv
Rank: 1
等 级:新手上路
帖 子:197
专家分:0
注 册:2006-9-4
收藏
 问题点数:0 回复次数:0 
error C2064: term does not evaluate to a function
BOOL CSheet1::OnInitDialog()
{
CPropertyPage::OnInitDialog();
CRect rect;
GetDlgItem(IDD_FORMVIEW)->GetWindowRect(&rect);

m_formview.Create(

"CFormview","软件",WS_CHILD|WS_VISIBLE,
CRect(20,20,20,20),NULL,NULL,m_hWnd);

m_formview.ModifyStyleEx(0,WS_EX_CONTROLPARENT);
m_formview.ModifyStyle(0,WS_TABSTOP);
ScreenToClient(&rect);
m_formview.SetWindowPos(NULL,rect.left-7,rect.top-7,0,0,SWP_NOZORDER|SWP_NOSIZE|SWP_NOACTIVATE);

return TRUE;
}
我在属性页中加入CFormView 框架红色部分出现这样的错误,
error C2664: 'Create' : cannot convert parameter 7 from 'struct HWND__ *' to 'struct CCreateContext *'
Types pointed to are unrelated; conversion requires reinterpret_cast, C-style cast or function-style cast
这该怎么解决

[此贴子已经被作者于2006-10-28 16:30:23编辑过]

搜索更多相关主题的帖子: does term function evaluate 
2006-10-28 15:16
快速回复:error C2064: term does not evaluate to a function
数据加载中...
 
   



关于我们 | 广告合作 | 编程中国 | 清除Cookies | TOP | 手机版

编程中国 版权所有,并保留所有权利。
Powered by Discuz, Processed in 0.013485 second(s), 8 queries.
Copyright©2004-2024, BCCN.NET, All Rights Reserved