Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Toolkit Pro
  New Posts New Posts RSS Feed - Show images in calendar control
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Show images in calendar control

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


Joined: 17 February 2005
Status: Offline
Points: 13
Post Options Post Options   Thanks (0) Thanks(0)   Quote unicef Quote  Post ReplyReply Direct Link To This Post Topic: Show images in calendar control
    Posted: 06 January 2006 at 1:51pm

Two questions:

1. How can I show an image in each *cell* as background or one corner of the "cell"?

2. How can I show a small image for each event instead of just color?

Thanks in advance

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: 07 January 2006 at 3:54am
Hi,

There are no such standard features for the CalendarControl.

You'll have to create own Paint Manager basing on the existing one and enhance some drawing procedures. That's not an easy way, but possible.
To store custom parameters like image file name you can also use a set of Event custom properties.

--
WBR,
Serge
Back to Top
unicef View Drop Down
Newbie
Newbie


Joined: 17 February 2005
Status: Offline
Points: 13
Post Options Post Options   Thanks (0) Thanks(0)   Quote unicef Quote  Post ReplyReply Direct Link To This Post Posted: 09 January 2006 at 9:51am

Hi Serge,

Thanks for your quick response. Is it possible to give me an example? Any plan to add this feature in the next release? It's a "must have" feature for a calendar control from my point of view.

Unicef

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