Print Page | Close Window

Event Time Format

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=5796
Printed Date: 28 April 2024 at 5:05pm
Software Version: Web Wiz Forums 12.04 - http://www.webwizforums.com


Topic: Event Time Format
Posted By: mikeh
Subject: Event Time Format
Date Posted: 14 December 2006 at 1:49pm
I am evaluating the CalendarPro software.  For the most part it looks like what I need but I have a question about event time formats.
 
It looks like the event time display defaults to AM/PM format with only hours and minutes displayed (i.e. 3:00PM).  I would like to display the times in 24-hour format and would like to include seconds in the displayed time (i.e. 15:00:00).  My customer prefers military time and obviously I'm not interested in scheduling meetings where seconds wouldn't matter.
 
Using the debugger, I can see an m_EventTimeFormat variable in the CXTPCalendarView class but there appears to be no way to modify this value (protected member).
 
Are there any other ways to do what I want to do?  Or is there a way to prevent the software from displaying the time at all so I can format it any way I like in the Subject text?
 
Thanks,
Mike
 



Replies:
Posted By: sserge
Date Posted: 14 January 2007 at 3:48pm
Hi Mike,

For Office2007 theme it is not drawn by default (visible only in a tooltip). There you can customize text and any other part of the object by handling notification XTP_NC_CALENDAR_BEFORE_DRAW_THEMEOBJECT

--
WBR,
Serge



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