how to show weeknumber |
Post Reply |
Author | |
hinnack
Groupie Joined: 01 September 2009 Status: Offline Points: 18 |
Post Options
Thanks(0)
Posted: 28 October 2009 at 2:46am |
Hi,
how can I show the weeknumber / calendarweek in dayview / weekview? -- Hinnack |
|
mdoubson
Senior Member Joined: 17 November 2008 Status: Offline Points: 1705 |
Post Options
Thanks(0)
|
use C-style setting - like this CalendarControl.FullDateMode = True
CalendarControl.DayHeaderFormat = "week=%W %A, %B %d" |
|
hinnack
Groupie Joined: 01 September 2009 Status: Offline Points: 18 |
Post Options
Thanks(0)
|
works half the way: wrong language! I do get english weekdaynames and monthnames othough the rest is german...
How to show the weeknumber in weekview? -- Hinnack |
|
mdoubson
Senior Member Joined: 17 November 2008 Status: Offline Points: 1705 |
Post Options
Thanks(0)
|
Check this http://msdn.microsoft.com/en-us/library/fe06s4ak(VS.80).aspx and this http://msdn.microsoft.com/en-us/library/x99tb11d(VS.80).aspx
No WeekView (2-column mode) supported - only multi-columns mode
|
|
mdoubson
Senior Member Joined: 17 November 2008 Status: Offline Points: 1705 |
Post Options
Thanks(0)
|
e.g. ::setlocale(LC_ALL, _T("German"));
|
|
hinnack
Groupie Joined: 01 September 2009 Status: Offline Points: 18 |
Post Options
Thanks(0)
|
thanks for the info!
But why is everywhere in your component the correct language shown (for e.g. weekdays) except for using this? CalendarControl.FullDateMode = True CalendarControl.DayHeaderFormat = "week=%W %A, %B %d" -- Hinnack |
|
mdoubson
Senior Member Joined: 17 November 2008 Status: Offline Points: 1705 |
Post Options
Thanks(0)
|
Please try update https://forum.codejock.com/uploads/BetaOCX/CalendarBeta13-2.rar
where Week Number in header matched to DatePicker Week Number
|
|
Post Reply | |
Tweet
|
Forum Jump | Forum Permissions You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |