Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Calendar
  New Posts New Posts RSS Feed - How can I set width of Multischedule in calendar
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

How can I set width of Multischedule in calendar

 Post Reply Post Reply
Author
Message
Makarand View Drop Down
Senior Member
Senior Member
Avatar

Joined: 27 February 2007
Location: India
Status: Offline
Points: 140
Post Options Post Options   Thanks (0) Thanks(0)   Quote Makarand Quote  Post ReplyReply Direct Link To This Post Topic: How can I set width of Multischedule in calendar
    Posted: 05 March 2010 at 4:04am
Hi CJ Team,

I have implemented multischedule (Extended) in our application.

Issue: I want to reduce Schedule column width.

In the "Calendar Demo" sample program "John", "Peter", "Rooms" are multischedule column name.

If I add more schedule, currently calendar automatically adjust the column according to Schedule count.

My Requirement is: We want to fix the width of Schedule name column.

How we can do this?????

Thanks,
Mak
Back to Top
Chewie View Drop Down
Newbie
Newbie


Joined: 09 November 2012
Status: Offline
Points: 5
Post Options Post Options   Thanks (0) Thanks(0)   Quote Chewie Quote  Post ReplyReply Direct Link To This Post Posted: 09 November 2012 at 6:17am
I am looking for this same functionality, does anyone know?

Back to Top
Chewie View Drop Down
Newbie
Newbie


Joined: 09 November 2012
Status: Offline
Points: 5
Post Options Post Options   Thanks (0) Thanks(0)   Quote Chewie Quote  Post ReplyReply Direct Link To This Post Posted: 22 November 2012 at 9:36am
Found the solution, for anyone else interested:

Using CXTPCalendarControl.cpp

CXTPCalendarControl MyCalendarControl;
CXTPCalendarDayView* pDayView = MyCalendarControl.GetDayView(); pDayView->SetMinColumnWidth(-50); //- gets converted internally to + 50 pixels...

Clap

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.