织梦CMS - 轻松建站从此开始!

罗索

当前位置: 主页>杂项技术>.NET(C#)>

VC中的string table

罗索客 发布于 2007-03-06 11:44 点击:次 
近来发现对VC中还是有很多的不懂,其中有一个不懂的就是string table. 今天要记录的东东是: 假如某一个string table是 \\nTest42\\nTest42\\n\\n\\nTest4264.Document\\nTest42 Document 那么: 这么核心的东西才给20分 第一个\\nTest42标书主窗口的标题 第二个\\nTest4
TAG:

近来发现对VC中还是有很多的不懂,其中有一个不懂的就是string table.
今天要记录的东东是:
假如某一个string table是
\\nTest42\\nTest42\\n\\n\\nTest4264.Document\\nTest42 Document
那么:
这么核心的东西才给20分
第一个\\nTest42标书主窗口的标题
第二个\\nTest42是新文件名
紧接着的两个\\n,其中的第一个用在file open 和save对话框中的标志符
第二个是用于file open 和save对话框的过滤器中的扩张类型
nTest4264.Document是注册文件类型
nTest42 Document是注册文件类型名


IDR_MAINFRAME <windowTitle>\\n<docName>\\n<fileNewName>\\n
<filterName>\\n <filterExt>\\n<regFileTypeID>\\n
<regFileTypeName>\\n <filterMacExt(filterWinExt)>\\n
<filterMacName(filterWinName)>
The following table defines each of the substrings:

Substring Definition
<windowTitle>
Name that appears in the application window's title bar (for example, "Microsoft Excel"). Present only in the document template for SDI applications.
<docName>
Root for the default document name (for example, "Sheet"). This root plus a number is used for the default name of a new document of this type whenever the user chooses the New command from the File menu (for example, "Sheet1" or "Sheet2"). If not specified, "Untitled" is used as the default.
<fileNewName>
Name of this document type. If the application supports more than one type of document, this string is displayed in the File New dialog box (for example, "Worksheet"). If not specified, the document type is inaccessible using the File New command.
<filterName>
Description of the document type and a wildcard filter matching documents of this type. This string is displayed in the List Files Of Type drop-down list in the File Open dialog box (for example, "Worksheets (*.XLS)"). If not specified, the document type is inaccessible using the File Open command.
<filterExt>
Extension for documents of this type (for example, ".XLS"). If not specified, the document type is inaccessible using the File Open command.
<regFileTypeId>
Identifier for the document type to be stored in the registration database maintained by Windows. This string is for internal use only (for example, "ExcelWorksheet").If not specified, the document type cannot be registered with the Windows File Manager.
<regFileTypeName>
Name of the document type to be stored in the registration database. This string may be displayed in dialog boxes of applications that access the registration database (for example, "Microsoft Excel Worksheet").

(iwgh)
本站文章除注明转载外,均为本站原创或编译欢迎任何形式的转载,但请务必注明出处,尊重他人劳动,同学习共成长。转载请注明:文章转载自:罗索实验室 [http://www.rosoo.net/a/200703/6577.html]
本文出处: 作者:iwgh
顶一下
(0)
0%
踩一下
(1)
100%
------分隔线----------------------------
发表评论
请自觉遵守互联网相关的政策法规,严禁发布色情、暴力、反动的言论。
评价:
表情:
用户名: 验证码:点击我更换图片
栏目列表
将本文分享到微信
织梦二维码生成器
推荐内容