langload.rc

来自「在windows的资源文件中使用多语言从而实现多语言支持」· RC 代码 · 共 29 行

RC
29
字号
// sample showing how to use language IDs and LoadString
//
// (C) Copyright 1999 by Mike Blaszczak
// written on 18 October, 1999 for Visual C++ 6.0

#include "winres.h"
#include "langload.h"

// one string table for LANG_ENGLISH

LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US

STRINGTABLE DISCARDABLE 
BEGIN
    IDS_COWS    "Laughing cows are pretty."
END

// the other string table for LANG_FRENCH
// note they have the same string ID; that's fine, since 
// each instance is in a different LANGUAGE

LANGUAGE LANG_FRENCH, SUBLANG_FRENCH

STRINGTABLE DISCARDABLE 
BEGIN
    IDS_COWS    "Les vaches qelle rit ont jolie!"
END

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?