Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Calendar
  New Posts New Posts RSS Feed - Multiuser calendar with distinct colors
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Multiuser calendar with distinct colors

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


Joined: 24 January 2008
Location: Switzerland
Status: Offline
Points: 2
Post Options Post Options   Thanks (0) Thanks(0)   Quote hulot Quote  Post ReplyReply Direct Link To This Post Topic: Multiuser calendar with distinct colors
    Posted: 25 January 2008 at 3:44am
Hello,
 
I was able to produce a multi-user calendar with distinct background color for each user using the documented example based on:
 
Private Sub AxCal_BeforeDrawDayViewCell(ByVal sender As Object, ...
 
But how to to do the same with Office2007 theme (i.e; first user is light rosa background, second is light blue, and so on) ?
 
Thanks for any help
 
Oliver
Back to Top
ericl View Drop Down
Newbie
Newbie


Joined: 06 February 2008
Location: France
Status: Offline
Points: 7
Post Options Post Options   Thanks (0) Thanks(0)   Quote ericl Quote  Post ReplyReply Direct Link To This Post Posted: 07 February 2008 at 11:38am
I can't do that too ;(
This event stops working if the office2007 theme is enable...

Do you find some way to change background cell color whith office 2007 theme ?

Thanks,
eric l.
Back to Top
sserge View Drop Down
Moderator Group
Moderator Group


Joined: 01 December 2004
Status: Offline
Points: 1297
Post Options Post Options   Thanks (0) Thanks(0)   Quote sserge Quote  Post ReplyReply Direct Link To This Post Posted: 12 February 2008 at 5:09pm
For Office2007 theme you have to use another method: catch _BeforeDrawThemeObject(...). Inside the method check Group ID and draw cell with those color which you'd like. For more details see also http://forum.codejock.com/forum_posts.asp?TID=5170

--
WBR,
Serge

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.125 seconds.