// This is called immediately after the custom AppWizard is loaded. Initialize
// the state of the custom AppWizard here.
void CXTAppWizardAppWiz::InitCustomAppWiz()
{
// Create a new dialog chooser; CDialogChooser's constructor initializes
// its internal array with pointers to the steps.
m_pChooser = new CDialogChooser;
// At first, we don't know the total number of steps, since there are two
// possible "tracks" (MDI/SDI app and dialog-based app).
SetNumberOfSteps(-1);
// Inform AppWizard of the languages we support
//SetSupportedLanguages(_T("German [Standard] (APPWZDEU.DLL);0x40704b0\nEnglish [United States] (APPWZENU.DLL);0x40904b0\nSpanish [International Sort] (APPWZESP.DLL);0xc0a04b0\nFrench [Standard] (APPWZFRA.DLL);0x40c04b0\nItalian [Standard] (APPWZITA.DLL);0x41004b0"));
SetSupportedLanguages(_T("中文 [中国] (APPWZCHS.DLL);0x80404b0\nEnglish [United States] (APPWZENU.DLL);0x40904b0\nSpanish [International Sort] (APPWZESP.DLL);0xc0a04b0\nFrench [Standard] (APPWZFRA.DLL);0x40c04b0\nItalian [Standard] (APPWZITA.DLL);0x41004b0"));
//-----------------------------------------------------------------------
// Initial settings for the standard control bar class.
//-----------------------------------------------------------------------
..........
........
2、OK,你可以编译了,生成的XTAppWizard_vc6.awx文件将自动复制为(MSDEVDIR)\Template\XTAppWizard.awx;
3、运行向导时请选择中文资源。
注 :你可以对Wizard的对话框资源进行汉化,不过这仅仅是向导的界面汉化,对于向导的运行结果没有半点影响。