谢谢!
解决方案 »
- 收藏 不显示删除回复显示所有回复显示星级回复显示得分回复 求助:有WritePrivateProfileString 可以向 ini 写一个字符串,如果想写一个
- 单色位图在菜单上自动透明显示?
- 求助:怎么用wx做一个winmp类型的面板?
- 向网页post数据是,抓包看到中文是%xx%xx%xx格式,这是什么编码?
- 有没有设置cpu外频,电压,屏蔽光驱类的api
- VC生成的DLL怎样放到别的机器上使用,我一拿到别的地方他就报错,找不到MFC的dll库。
- 用通用对话框选择保存的文件,怎么知道用户选择的文件类型。
- 在98下如何根据线程的ID得到线程句柄
- ado 中将查询结果存入一个表中的问题
- modem的问题
- 背景的刷新使得控件闪烁很厉害怎么办?
- 在CTreeView类中如何获取另一个CView类的指针
The lpszFilter parameter is used to determine the type of filename a file must have to be displayed in the file list box. The first string in the string pair describes the filter; the second string indicates the file extension to use. Multiple extensions may be specified using ‘;’ as the delimiter. The string ends with two ‘|’ characters, followed by a NULL character. You can also use a CString object for this parameter.For example, Microsoft Excel permits users to open files with extensions .XLC (chart) or .XLS (worksheet), among others. The filter for Excel could be written as:static char BASED_CODE szFilter[] = "Chart Files (*.xlc)|*.xlc|Worksheet Files (*.xls)|*.xls|Data Files (*.xlc;*.xls)|*.xlc; *.xls|All Files (*.*)|*.*||";
我的意思是能不能在调用CDocManager::DoPromptFileName前
设定多个可读入的文件类型
在Application Wizard里面好像只能设定一种文件类型