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 General Discussion » CExtPopupMenuWnd : Regions and Language Collapse All
Subject Author Date
Julien Garcia Dec 2, 2010 - 6:32 AM

Hello support,


Using Prof-UIS Sample 2.91 (ProfUIS_Controls-m.exe : Popup Menus tab) on Windows 7.


It seems that the display of CExtPopuMenuWnd objects (with TrackPopupMenu function) is linked to configuration of "Regions and Language" : Control Panel \ Clock, Language and Region \ Region and Language \ Formats.


Setting format to English (United States) items,icons and arrows are left-positioned in the popup menu :



But setting format to Hebrew (Israel), items,icons and arrows are right-positioned in the popup menu :



Is there a way to prevent items to be right-positioned, whatever "Regions and Languages" configuration ?


I would like to force the popup menu to display items from left to right, even if in some countries read from right to left ...


Thanks in advance for any help

Technical Support Dec 2, 2010 - 12:20 PM

Please invoke the following line of code:

g_ResourceManager->SetLangLayout( LAYOUT_LTR );

Julien Garcia Dec 3, 2010 - 2:01 AM

Hello,


It worked as expected!


Again, thank you for your support.