Professional UI Solutions
Site Map   /  Register
 
 

Forum

Please Log In to post a new message or reply to an existing one. If you are not registered, please register.

NOTE: Some forums may be read-only if you are not currently subscribed to our technical support services.

Forums » Prof-UIS Tech Support » Localization of CExtReportGridWnd Collapse All
Subject Author Date
Christophe Guibert Jun 28, 2006 - 3:32 PM

Hello,

I would like to programmatically set the language that is used in the pop up menu in the column header of CExtReportGridWnd (it currently appears in my language (French) whereas I chose English-US resource in the visual C++ project).

Looking at the language switcher sample, I tried something like :
g_ResourceManager->SetLangIdDesired(__EXT_MFC_LANG_ID_ENGLISH_US);
in the constructor of the CMainFrame, with no result (CExtReportGridWnd menu still appear in French).

The application is statically linked with Prof-UIS library.

Would have an advice ?

Best Regards,

C. Guibert

Technical Support Jun 29, 2006 - 7:42 AM

We may only guess that you forgot to invoke the AllowCustomLang() method. Please check if the code looks like as follows:

g_ResourceManager->AllowCustomLang();
g_ResourceManager->SetLangIdDesired( . . . );


Christophe Guibert Jun 29, 2006 - 3:40 PM

Thank you, that was effectively missing.