Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > ActiveX COM > Calendar
  New Posts New Posts RSS Feed - month view and week view problem
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

month view and week view problem

 Post Reply Post Reply
Author
Message
sguy1234 View Drop Down
Newbie
Newbie


Joined: 12 November 2008
Status: Offline
Points: 1
Post Options Post Options   Thanks (0) Thanks(0)   Quote sguy1234 Quote  Post ReplyReply Direct Link To This Post Topic: month view and week view problem
    Posted: 12 November 2008 at 3:00pm

the calendar keeps drawing the days: sutarday and sunday as small boxes, as they are the weekend days.

How can i set the weekend to be Friday and sutarday, so that the box for sunday will be drawn as a BIG box like the others working days?
 
regards,
 
Guy.
Back to Top
prashant View Drop Down
Senior Member
Senior Member
Avatar

Joined: 19 February 2007
Location: India
Status: Offline
Points: 165
Post Options Post Options   Thanks (0) Thanks(0)   Quote prashant Quote  Post ReplyReply Direct Link To This Post Posted: 10 December 2008 at 3:01am
Hi,
On calendar InitInstance() call:

///!<Start Day Sunday>
///!<An integer from range between 1 and 7, where 1 = Sunday, 2 = Monday, and so on.>

GetCalendarCtrl().SetFirstDayOfWeek(1);
Back to Top
SuperMario View Drop Down
Admin Group
Admin Group
Avatar

Joined: 14 February 2004
Status: Offline
Points: 18057
Post Options Post Options   Thanks (0) Thanks(0)   Quote SuperMario Quote  Post ReplyReply Direct Link To This Post Posted: 10 December 2008 at 1:04pm
Or maybe you need:

CalendarControl.Options.MonthViewCompressWeekendDays = False
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.04
Copyright ©2001-2021 Web Wiz Ltd.

This page was generated in 0.188 seconds.