Add own icon and show the icon |
Post Reply |
Author | |
bubken
Newbie Joined: 26 June 2015 Location: Belgium Status: Offline Points: 2 |
Post Options
Thanks(0)
Posted: 26 June 2015 at 7:44am |
Hi
I am using Xtreme Calendar Pro v13. You can show a reminder, private, recurrence icon on the event line in the calendar. But now I want to show an unread mail icon and a read mail icon. I have searched and looked at the samples of Codejock but didn't found how I can easy add the own icons and show them on the event line. Can anyone help me with this issue? Or give me a simple example code to add and show icons on the event line? Thank you |
|
Alex H.
Senior Member Joined: 12 February 2004 Status: Offline Points: 266 |
Post Options
Thanks(1)
|
With older XTP-Versions and Office 2007 Theme you could do it like that:
OnEvent_PrePopulate pCustomIcons = pEvent->GetCustomIcons(); ASSERT(pCustomIcons); pCustomIcons->AddIfNeed((UINT)IDI_GROUP); < - ICON-ID I used the custom properties of an Event to determine: pCustomProperties = pEvent->GetCustomProperties(); COleVariant oGroup; VERIFY(pCustomProperties->GetProperty(_T("Group"), oGroup )); bGroup = oGroup.boolVal; |
|
Post Reply | |
Tweet
|
Forum Jump | Forum Permissions You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |