0

Recently, I'm maintaining the project of my company.

Visual Studio 2015 MFC

The project contains three rc files:

  1. athena.rc
  2. athena.rc2
  3. athena.rc3

The first .rc file includes the other two rc2 & rc3 files. I'm wondering how to preview the UI layout inside rc2 & rc3?

#ifdef APSTUDIO_INVOKED
/////////////////////////////////////////////////////////////////////////////
//
// TEXTINCLUDE
//

1 TEXTINCLUDE 
BEGIN
    "resource.h\0"
END

2 TEXTINCLUDE 
BEGIN
    "#include ""afxres.h""\r\0"
END

3 TEXTINCLUDE 
BEGIN
    "#include ""Version.rc2""  // non-Microsoft Visual C++ edited resources\r\n"
    "#define WR_ENGLISH \r\n"
    "LANGUAGE LANG_ENGLISH, SUBLANG_ENGLISH_US\r\n"
    "#pragma code_page(1252)  // non-Microsoft Visual C++ edited resources\r\n"
    "#include ""WAStrings_English.h""\r\n"
    "#include  ""res\\athena.rc2""\r\n"
    "#include  ""res\\athena.rc3""\r\n"
    "#undef WR_ENGLISH\r\n"

    "#define WR_CHINESE_TRADIONAL \r\n"
    "LANGUAGE LANG_CHINESE, SUBLANG_CHINESE_TRADITIONAL\r\n"
    "#pragma code_page(950)   // non-Microsoft Visual C++ edited resources\r\n"
    "#include ""WAStrings_Chinese_T.h""\r\n"
    "#include ""res\\athena.rc2""\r\n"
    "#include ""res\\athena.rc3""\r\n"
XBruce
  • 1
  • 1

0 Answers0