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"). 

 
  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值