SetSupportedLanguages

HomeOverviewsHow Do IDetailsSample

Feature Only in Professional and Enterprise Editions   Creating a Custom AppWizard is supported only in Visual C++ Professional and Enterprise Editions. For more information, see Visual C++ Editions.

SetSupportedLanguages( LPCTSTR szSupportedLangs );

Parameters

szSupportedLangs

Stores a string of the form:

language-name#1 (APPWZ*.DLL-name#1);translation-identifier#1\n

language-name#2 (APPWZ*.DLL-name#2);translation-identifier#2\n...

...language-name#i (APPWZ*.DLL-name#i);translation-identifier#i\n”

The string is a series of substrings, each separated by the newline character (\n). Each substring has the same format as each entry in the CStringList parameter in ScanForAvailableLanguages.

Remarks

The SetSupportedLanguages function reports to MFCAPWZ.DLL the languages that are supported by your custom AppWizard. This function is only used if your custom AppWizard uses the MFC AppWizard Executable standard sequences of AppWizard steps and is called in CCustomAppWiz::InitCustomAppWiz to fill the languages checklist in MFC AppWizard’s Step 1. The code that calls SetSupportedLanguages is automatically generated when you use the Custom AppWizard project type to generate your custom AppWizard

See Also   AppWizard Language Support for Far East Languages, C Functions Exported by MFCAPWZ.DLL, $$SET_DEFAULT_LANG, ScanForAvailableLanguages, CCustomAppWiz::GetPlatforms, Language Loop Macros