Print Page | Close Window

Drawing in day headers

Printed From: Codejock Forums
Category: Codejock Products
Forum Name: Calendar
Forum Description: Topics Related to Codejock Calendar
URL: http://forum.codejock.com/forum_posts.asp?TID=8505
Printed Date: 09 May 2024 at 5:39pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Drawing in day headers
Posted By: nemanjas
Subject: Drawing in day headers
Date Posted: 23 October 2007 at 9:58am
I want to draw icon(s) in day headers. Does calendar control support this?

EDIT: Is there any way to customize day header drawing?

Thanks, Nemanja.



Replies:
Posted By: sserge
Date Posted: 24 October 2007 at 1:58pm
this is not possible for now unfortunately.

--
WBR,
Serge


Posted By: sserge
Date Posted: 24 October 2007 at 2:00pm
However, this may me possible when using customized Office2007 theme. You'll have to override a few internal methods/classes which draws Office2007 day header.

--
WBR,
Serge


Posted By: nemanjas
Date Posted: 26 October 2007 at 5:37am
Ok, thanks. Will try with Office2007.

Is there any documentation how to inherit Office2007 class? Is there any initialization code, or should i just copy Office2007 theme code, and modify it?

Thanks, Nemanja.




Posted By: nemanjas
Date Posted: 26 October 2007 at 7:39am
Originally posted by sserge sserge wrote:

However, this may me possible when using customized Office2007 theme. You'll have to override a few internal methods/classes which draws Office2007 day header.


I've reused Office2007 code, and i must say that custom drawing was very easy. Thanks for suggesting this method.

I have another question. I cannot grasp theme concept. If i can use Windows theme files, why Office2007 theme is one large class instead of .msstyle package?



Print Page | Close Window

Forum Software by Web Wiz Forums® version 12.04 - http://www.webwizforums.com
Copyright ©2001-2021 Web Wiz Ltd. - https://www.webwiz.net