Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Calendar
  New Posts New Posts RSS Feed - Drawing in day headers
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Drawing in day headers

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


Joined: 04 August 2006
Status: Offline
Points: 11
Post Options Post Options   Thanks (0) Thanks(0)   Quote nemanjas Quote  Post ReplyReply Direct Link To This Post Topic: Drawing in day headers
    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.
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: 24 October 2007 at 1:58pm
this is not possible for now unfortunately.

--
WBR,
Serge
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: 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
Back to Top
nemanjas View Drop Down
Newbie
Newbie


Joined: 04 August 2006
Status: Offline
Points: 11
Post Options Post Options   Thanks (0) Thanks(0)   Quote nemanjas Quote  Post ReplyReply Direct Link To This Post 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.


Back to Top
nemanjas View Drop Down
Newbie
Newbie


Joined: 04 August 2006
Status: Offline
Points: 11
Post Options Post Options   Thanks (0) Thanks(0)   Quote nemanjas Quote  Post ReplyReply Direct Link To This Post 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?
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.172 seconds.