virtual BOOL Create(
CWnd* pParentWnd,
LPCTSTR lpszTemplateName,
UINT nStyle,
UINT nID
);
virtual BOOL Create(
CWnd* pParentWnd,
UINT nIDTemplate,
UINT nStyle,
UINT nID
);
/*********************************************************/
nID The control ID of the dialog bar.nIDTemplate The resource ID of the CDialogBar object's dialog-box template.
lpszTemplateName A pointer to the name of the CDialogBar object's dialog-box resource template.
有谁能详细解释一下nID,nIDTemplate,lpsztemplateName.
不是求翻译,是求解释.
谢谢.
CWnd* pParentWnd,
LPCTSTR lpszTemplateName,
UINT nStyle,
UINT nID
);
virtual BOOL Create(
CWnd* pParentWnd,
UINT nIDTemplate,
UINT nStyle,
UINT nID
);
/*********************************************************/
nID The control ID of the dialog bar.nIDTemplate The resource ID of the CDialogBar object's dialog-box template.
lpszTemplateName A pointer to the name of the CDialogBar object's dialog-box resource template.
有谁能详细解释一下nID,nIDTemplate,lpsztemplateName.
不是求翻译,是求解释.
谢谢.
解决方案 »
- 如何通过重绘来调整listbox的高度。
- 很奇怪的问题,编译没错,运行程序就出错死掉了。。vc下字符的取值问题了
- 想把主菜单的某些菜单项组织到快捷菜单中,并且保持菜单项状态一致。
- 程序只启动一个实例化的问题,如何在第二次启动时显示程序界面
- 对话框背景位图及按妞位图消失问题
- 求在MDI视图中显示一张BMP文件的代码
- 关于float型变量转换为CString的问题,百思不得其解!
- 关于gif的LZW压缩编码
- 谁能给个Mabry's Ftp/x ActiveX control的例子,相关网页也给分。急!!
- ftp 的get怎么把中文名的文件抓下来啊? get支持通配付吗?
- 急急急!跪求高人!MFC连接数据库错误:unhandled exception in 文件名.exe (KERNEL32.DLL):0xE06D7363:...
- 帮我看一下这个Sobel算子边界提取怎么不灵
nIDTemplate 工具条对象—> 对话框模板资源ID
lpszTemplateName 指向 工具条对象—> 对话框资源模板的字符串
// nIDTemplate是DialogBar模板的ID,也就是DialogBar那个资源的ID
// 同一个模板可以生成多个控件
// lpszTemplateName是资源名称.