Extreme toolkit is a good interface library and has Chinese resources, but it does not support Chinese well. We still need to do some work before use to make it easy to use Chinese.
The modification includes two parts: compiling the dynamic link library and modifying the Project Wizard.
Compile the Dynamic Link Library:
- In the source \ taskpanel \ res folder, copy resource. RC to resource_zh_cn.rc, open it in notepad, and modify the content: # If ! Defined (afx_resource_dll) | defined (afx_targ_enu)
# Ifdef _ Win32
Language lang_english, sublang_english_us
# Pragma Code_page (1252)
# Endif // _ Win32
Replace: # If! Defined (afx_resource_dll) | defined (afx_targ_enu)
# Ifdef _ Win32
Language lang_chinese, sublang_chinese_simplified
# PragmaCode_page (936)
# Endif //_ Win32
- Modify the source \ xttoolkitpro. RC file. The modification content is as follows: # DefineLanguage_default (prodname) <## prodname ## \ res \ resource. rc>
Replace:
# DefineLanguage_default (prodname) <## prodname ## \ res \ resource_zh_cn.rc>
Modify Project Wizard:
- Modify the utils \ Appwizard \ vc80 \ vcwizards \ xtpappwizard \ HTML \ 1033 \ apptype.htm file, search for populatelanguages (), and modify the content:
// VaR strinstalledlangs = Window. External. getinstalledlangs ();
VaR Strinstalledlangs = " 1033 "
Replace:
VaR Strinstalledlangs = Window. External. getinstalledlangs ();
// VaR strinstalledlangs = "1033"
-
- In the utils \ Appwizard \ vc80 \ vcwizards \ xtpappwizard \ Templates folder, copy the 1033 folder to the 2052 folder.
-
- Compare the 2052 folder with the <vs2005 installation folder> \ Vc \ vcwizards \ appwiz \ MFC \ Application \ Templates \ 2052 resource file all. RC, dlgall. RC, Root. RC2: Change the string to Chinese. We recommend that you use the comparison function of ultraedit.
-
- Modify frame in the 2052 folder. CPP folder, replace _ T ("menu bar") with _ T ("menu bar"), and replace _ T ("standard") with _ T ("standard ").
After completion, run deploy.exe to deploy.
For the convenience of everyone, I package the modification results to save everyone's time. Copy and overwrite the package. Extreme toolkit Chinese download