![]() |
|
phGantTimePackage FAQ 10531Is it possible to set the language in order to change the date format? Please note that this article
refers to the phGantTimePackage Jump to article- 2006-04-14 19:35:00 - Email plexityHide Question We have to insert the possibility to change language settings. Is it possible to set the language in order to change the date format? Example: Regional settings of my PC are italian but I want dates in phGanttControl.ocx to be in English and I want to view the days of the week like this: "Sun", "Mon", "Thu", ecc.. Alternatively, is it possibile to hide the days of the week when I'm zooming the control? Answer The settings is read from windows-locales at startup, the setting is read again as a responce to the WM_WININICHANGE message. To change the locales settings in windows (got this from msdn): setlocale( LC_ALL, "French_Canada.1252" ); This is untested and we are not entirily sure that it will work. Maybe we will need to expose a method in the API to let you send in the desired culture-lcid. You may also implement the IphGantX3.OnScalerStringShort and IphGantX3.OnScalerStringLong events and override the outputted text.
|
"This is too GREAT. I must say you have strong support and really good programmers at your place. Your entire team is good. Just Fantastic! – 100%" |
| ? 1999-2006 PlexityHide.com Grastensvagen 24, S-163 45 Spanga Sweden E-mail: support@plexityhide.com |