Overview
Examples
Screenshots
Comparisons
Applications
Download
Documentation
Tutorials
Bazaar
Status & Roadmap
FAQ
Authors & License
Forums
Funding Ultimate++
Search on this site
Search in forums












SourceForge.net Logo
Home » U++ Library support » CalendarCtrl » Calendar control localization format
Calendar control localization format [message #60554] Mon, 29 April 2024 03:21 Go to next message
zhx1984 is currently offline  zhx1984
Messages: 2
Registered: April 2024
Junior Member
index.php?t=getfile&id=6924&private=0

The interface is displayed in English format, I want to display Chinese format.
Re: Calendar control localization format [message #60555 is a reply to message #60554] Mon, 29 April 2024 22:28 Go to previous messageGo to next message
Zbych is currently offline  Zbych
Messages: 326
Registered: July 2009
Senior Member
Add SetDateFormat to your GUI_APP_MAIN, just before Run()

GUI_APP_MAIN
{
    SetLanguage( SetLNGCharset( GetSystemLNG(), CHARSET_UTF8 ) );
    SetDateFormat("%1:04d-%2:02d-%3:02d");
    SetDateScan("ymd");
    SetDateFilter("A/\a .-");
    MyApp().Run();
}
icon14.gif  Re: Calendar control localization format [message #60556 is a reply to message #60555] Tue, 30 April 2024 03:25 Go to previous message
zhx1984 is currently offline  zhx1984
Messages: 2
Registered: April 2024
Junior Member
Thank you very much
Previous Topic: Calendar & Clock titles unreadable (white numbers on light gray)
Goto Forum:
  


Current Time: Wed May 15 18:37:08 CEST 2024

Total time taken to generate the page: 0.01619 seconds