Cview pView;
pView->Create(NULL, NULL, 0L, CFrameWnd::rectDefault, this, VIEW_LOCKINFO, pContext);
0L什么意思啊?什么样式?lpszClassName
Points to a null-terminated character string that names the Windows class (a WNDCLASS structure). The class name can be any name registered with the global AfxRegisterWndClass function or any of the predefined control-class names. If NULL, uses the default CWnd attributes.
lpszWindowName
Points to a null-terminated character string that contains the window name.
这两个参数的意义没怎么看懂,一般怎么用的啊??谢谢!
pView->Create(NULL, NULL, 0L, CFrameWnd::rectDefault, this, VIEW_LOCKINFO, pContext);
0L什么意思啊?什么样式?lpszClassName
Points to a null-terminated character string that names the Windows class (a WNDCLASS structure). The class name can be any name registered with the global AfxRegisterWndClass function or any of the predefined control-class names. If NULL, uses the default CWnd attributes.
lpszWindowName
Points to a null-terminated character string that contains the window name.
这两个参数的意义没怎么看懂,一般怎么用的啊??谢谢!
解决方案 »
- 能不能在dialog上动态显示formview?就像分割的文档视图.我想模拟个tabcontrol
- excel ole vc2005 慢
- 关于08年的工资涨幅分析与调查
- 请问能不能动态创建一个CFontDialog或者CFontDialog
- 如何判断一个文件是否是mp3文件?
- 串口发送数据问题:
- 各位大侠:怎样去掉对话框右上角的关闭(X号)。。在线急等!!
- 如何用Xerces-C++ 开发包中的SAX 读写 XML 文档.据说SAX比DOM高效呀!
- 如何把这个转换成16进制?
- 未定义CV_EVENT_LBUTTONDOWN
- 我的 VC6 出问题了,求救
- 能做chm帮助文件的软件是什么?谁有链接?
virtual BOOL Create(LPCTSTR lpszClassName,
LPCTSTR lpszWindowName, DWORD dwStyle,
const RECT& rect,
CWnd* pParentWnd, UINT nID,
CCreateContext* pContext = NULL);0L表示为DWORD类型的数。lpszClassName窗口类的名称,如果你看看SDK的窗口结构就知道,缺省为CWnd.
0L表示LONG型的0。