![]() |
how to show weeknumber |
Post Reply
|
| Author | |
hinnack
Groupie
Joined: 01 September 2009 Status: Offline Points: 18 |
Post Options
Thanks(0)
Quote Reply
Topic: how to show weeknumberPosted: 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)
Quote Reply
Posted: 29 October 2009 at 1:27pm |
|
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)
Quote Reply
Posted: 30 October 2009 at 3:29am |
|
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)
Quote Reply
Posted: 30 October 2009 at 7:44am |
|
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)
Quote Reply
Posted: 30 October 2009 at 8:24am |
|
e.g. ::setlocale(LC_ALL, _T("German"));
|
|
![]() |
|
hinnack
Groupie
Joined: 01 September 2009 Status: Offline Points: 18 |
Post Options
Thanks(0)
Quote Reply
Posted: 01 November 2009 at 8:02am |
|
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)
Quote Reply
Posted: 04 November 2009 at 1:12pm |
|
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 |