我自己定义了一个对话框类,在其中添加类一个编辑框并为它添加了一个成员变量。但我在其他函数(ONDRAW)中为什么不能访问这个变量.他的提示为:
chininput' : undeclared identifier
left of '.m_ChinInput' must have class/struct/union type
其中chininput为我自定义的对话框类对象
chininput' : undeclared identifier
left of '.m_ChinInput' must have class/struct/union type
其中chininput为我自定义的对话框类对象
解决方案 »
- list control控件怎么不显示 GridLine ???
- 关于常量定义:#define好 还是 const好?
- 怎样让list box有水平和垂直滚动条?
- 你要学VC,你想要买经典书吗?
- 入门问题:多文档里如何在程序启动的时候启动5个FROMVIEW视图(无文档),并隐藏这些视图。求救啊。
- 郁闷中——socket编程初学
- vb做的ocx控件在vc中使用的问题
- ATL 中数据库的连接,急急急急,用 ADO方式 ODBC 的连接,在SQLServer中会了,但在 其的数据库 如:Oracle 或其数据库
- 请问关于分割窗体后的问题!
- 求救,在线等!!!
- 为什么不能SEND()
- 在CListView中怎么刷新窗口?
chininput' : undeclared identifier
left of '.m_ChinInput' must have class/struct/union type
其中chininput为我自定义的对话框类对象
也可以在view的成员函数中(临时变量)
看你的要求了