[Closed] Wish: Time Scrolling |
Post Reply |
Author | |
Simon HB9DRV
Senior Member Joined: 07 July 2005 Location: Switzerland Status: Offline Points: 458 |
Post Options
Thanks(0)
Posted: 22 October 2005 at 6:19am |
It would be nice (but not essential) to have a flag which ensures that the current time is always visible, for example in single day view. If the orange marker scrolls off the visible region then adjust the visible region please. Ideally the current time would be in the middle or top third of the calendar.
Just a wish... Edited by Simon HB9DRV |
|
Simon HB9DRV
|
|
sserge
Moderator Group Joined: 01 December 2004 Status: Offline Points: 1297 |
Post Options
Thanks(0)
|
Hi,
Really, it could be implemented or could not, but I hope calendar has enough methods which allow to easily implement this by yourself: Firstly, as an example, look at the implementation of: CXTPCalendarDayView::ScrollToWorkDayBegin(). Your method could be implemented in a similar manner. See also following members of CXTPCalendarDayView which can help you: COleDateTime GetCellTime(int nCell) int GetCellNumber(CXTPCalendarDateTime dtTime, BOOL bForEndTime) COleDateTimeSpan GetCellDuration() int GetTopRow()int int GetVisibleRowCount() void ScrollV(int nIndex, int nPos_raw) -- HTH, Serge |
|
Simon HB9DRV
Senior Member Joined: 07 July 2005 Location: Switzerland Status: Offline Points: 458 |
Post Options
Thanks(0)
|
Thanks - that's enough information. I'll set up a one minute timer.
Cheers |
|
Simon HB9DRV
|
|
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 |