![]() |
CXTPCalendarDayView::SetScaleMaxTime |
Post Reply ![]() |
Author | |
zitz ![]() Senior Member ![]() Joined: 05 October 2008 Status: Offline Points: 112 |
![]() ![]() ![]() ![]() ![]() Posted: 02 March 2009 at 10:48am |
I use Xtreme ToolkitPro v13.0.0
How can i set default value m_dtTimeScaleMax == 1.0 ??? I want see all time (all hours) at time scale. If i chenge it, i can't back... ![]() m_dtTimeScaleMax is private member ![]() I need help |
|
![]() |
|
zitz ![]() Senior Member ![]() Joined: 05 October 2008 Status: Offline Points: 112 |
![]() ![]() ![]() ![]() ![]() |
I recompile libraries
|
|
![]() |
|
mdoubson ![]() Senior Member ![]() ![]() Joined: 17 November 2008 Status: Offline Points: 1705 |
![]() ![]() ![]() ![]() ![]() |
You can set Max Scale Time in Options to be 23:30, Min Scale Time to be 0:00 = it will give you same result without code changes. Am I right? At least I see in my DayView such hours range (0=00 - 23:30)
|
|
![]() |
|
zitz ![]() Senior Member ![]() Joined: 05 October 2008 Status: Offline Points: 112 |
![]() ![]() ![]() ![]() ![]() |
No. By default you can see in DayView: 0:00 - 24:00.
Look in the constructor CXTPCalendarDayView - m_dtTimeScaleMax = 1.0 |
|
![]() |
|
zitz ![]() Senior Member ![]() Joined: 05 October 2008 Status: Offline Points: 112 |
![]() ![]() ![]() ![]() ![]() |
If you do not change the function SetScaleMaxTime, then open access to m_dtTimeScaleMax, i want set it in (DATE)1.0
|
|
![]() |
|
mdoubson ![]() Senior Member ![]() ![]() Joined: 17 November 2008 Status: Offline Points: 1705 |
![]() ![]() ![]() ![]() ![]() |
You right in term of logical bug in CXTPCalendarUtils::ResetDate function and I guess in some other functions of such strange class.
I already fixed enough here but need to fix more.
|
|
![]() |
|
mdoubson ![]() Senior Member ![]() ![]() Joined: 17 November 2008 Status: Offline Points: 1705 |
![]() ![]() ![]() ![]() ![]() |
OK - I made m_dtTimeScaleMax (and m_dtTimeScaleMin also) to be PUBLIC - this is already in SVN.
|
|
![]() |
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 |