About the customization of AppWizard Add Localization First Station
Author: cadinfo (silent breeze)
Time: 2002-7-2
Use the toolkit to expand programming, you must have to experience the test of Yangwen.
Recently, two MFC expansion libraries have been used. It is found that the ghost is as always, it is preferred to support Spain, Italy does not will support Chinese, each time AprpWizard can only make ENGLISH version is also more familiar, SIGH .
However, this is hard to weakers, and we can do the same, and to remove their dice, with our strengths.
The following will share the custom AppWizard to share. Here is sampled in Xtreme Toolkit, we can copy the xtappwizard_v6 below the installation folder to your work directory, then modify it, mainly the Temple directory you want to add your own resources (of course, support Chinese), here I list A total of 14 files:
AfxPrint_chs.rtf
AFXCORE_CHS.RTF
AfxoleCl_chs.rtf
AFXDLG_CHS.RTF
AFXDB_CHS.RTF
Root_chs.hpj
Root_chs.cnt
DOC_CHS.ICO
Scmenu_chs.bmp
LOC_CHS.RC
HLPSBAR_CHS.BMP
DLGLOC_CHS.RC
APPEXIT_CHS.BMP
The addition of these files can be more reflected in the original idioms, we can use the MFC AppWizard to make a project that supports the Context Help Help file (of course to Chinese), then copy the corresponding file in the HLP file, in the file name Adding _chs, of course, another job you have to do is FIX BUG - 即 即 r 码 码 修, go to it! Methods I saw my last article.
Another modified place is the xtappwizardaw.cpp file, add the combination box Chinese language support, and place it first, mad, foreigner:
Setsupportedlanguages (_T ("Chinese [China] (AppWZCHS.DLL); 0x80404B0 / N ...);
After completing, the project will automatically copy the xtappwizard.awx to the% msdevdir% / Temple directory, try it, and write it here.
I wish you all a good luck!