Timeline checkbox bug |
Post Reply |
Author | |
dennisV
Senior Member Joined: 07 October 2004 Location: Australia Status: Offline Points: 242 |
Post Options
Thanks(0)
Posted: 27 June 2009 at 5:28am |
Hi,
Run the Calendar demo, click on the timeline checkbox in Month view to turn it on, then go to menu, click on the menu item to turn it off, the view changes, but the checkbox in it is still checked. |
|
// W7 64 Ultimate SP1
// VS 2008 // CodeJock 16.2.3 (MFC) |
|
dennisV
Senior Member Joined: 07 October 2004 Location: Australia Status: Offline Points: 242 |
Post Options
Thanks(0)
|
Doh, this is of course in 13.1.0
|
|
// W7 64 Ultimate SP1
// VS 2008 // CodeJock 16.2.3 (MFC) |
|
mdoubson
Senior Member Joined: 17 November 2008 Status: Offline Points: 1705 |
Post Options
Thanks(0)
|
thank you Dennis. Sample updated - https://forum.codejock.com/uploads/DemoVersion/CalendarDemoStatic.rar
This is a fix in file XTPCalendarCaptionBar.cpp
void CXTPCalendarCaptionBarTheme::UpdateControlsState(){ if (!GetCalendarCtrl() || !GetCalendarCtrl()->GetActiveView()) return;m_pShowWorkWeek->SetVisible(FALSE); m_pShowFullWeek->SetVisible(FALSE); m_pShowMcWeek->SetVisible(FALSE); m_pButtonViewDay->SetCheck(0); m_pButtonViewWeek->SetCheck(0); m_pButtonViewMonth->SetCheck(0); m_pShowTimeline->SetVisible(m_bTimelineEnable); int iScale = GetCalendarCtrl()->GetTimeLineScale(); int nViewType = GetCalendarCtrl()->GetActiveView()->GetViewType(); //BOOL bTimelineMode = m_pShowTimeline->GetCheck();BOOL bTimelineMode = GetCalendarCtrl()->m_bTimelineMode; m_pShowTimeline->SetCheck(bTimelineMode); .......................................... |
|
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 |