Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Calendar
  New Posts New Posts RSS Feed - Probleme mit dem Kalender
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Probleme mit dem Kalender

 Post Reply Post Reply
Author
Message
daywalker View Drop Down
Newbie
Newbie
Avatar

Joined: 30 July 2009
Status: Offline
Points: 7
Post Options Post Options   Thanks (0) Thanks(0)   Quote daywalker Quote  Post ReplyReply Direct Link To This Post Topic: Probleme mit dem Kalender
    Posted: 30 July 2009 at 5:40am
Hallo zusammen,
würde mir hier jemand auch Fragen in deutsch beantworten ?
Wie kann ich die Startansicht einstellen. Ich möchte das beim starten des Kalenders die Arbeitswochenansicht angezeigt wird.
 
Vielen Dank für eure hilfe.
 
Gruß
Frank
Product: Xtreme ToolKitPro 2009 version 13.0.0
     Platform: Windows Vista Ultimate (32bit) - SP 2
     Language: Visual Studio 2008 (Visual C++)


Back to Top
SuperMario View Drop Down
Admin Group
Admin Group
Avatar

Joined: 14 February 2004
Status: Offline
Points: 18057
Post Options Post Options   Thanks (0) Thanks(0)   Quote SuperMario Quote  Post ReplyReply Direct Link To This Post Posted: 31 July 2009 at 9:23am
After using babelfish I still don't see the question.
Back to Top
mdoubson View Drop Down
Senior Member
Senior Member
Avatar

Joined: 17 November 2008
Status: Offline
Points: 1705
Post Options Post Options   Thanks (0) Thanks(0)   Quote mdoubson Quote  Post ReplyReply Direct Link To This Post Posted: 31 July 2009 at 8:48pm
Babelfish - "I would like to start with the calendar the work week opinion am indicated"
Let's assume that you use MFC (not ActiveX) Calendar Control.
Use MFC Calendar Demo
put in the end of function one line
void CCalendarDemoView::OnInitialUpdate() {

CXTPCalendarControlView::OnInitialUpdate();

..........................

OnCalendarViewWorkWeek(); }

You can analyze this function in CalendarDemoView.cpp
This is first screen you will see when app started now
 
Back to Top
daywalker View Drop Down
Newbie
Newbie
Avatar

Joined: 30 July 2009
Status: Offline
Points: 7
Post Options Post Options   Thanks (0) Thanks(0)   Quote daywalker Quote  Post ReplyReply Direct Link To This Post Posted: 03 August 2009 at 3:39am
Babelfish:
"Thank you for your assistance. Property still another question. How can I give Min scale time: and Max scale time:
in the IDD_CALENDAR_DEMO_VIEW? "
Thanks Daywalker
Product: Xtreme ToolKitPro 2009 version 13.0.0
     Platform: Windows Vista Ultimate (32bit) - SP 2
     Language: Visual Studio 2008 (Visual C++)


Back to Top
mdoubson View Drop Down
Senior Member
Senior Member
Avatar

Joined: 17 November 2008
Status: Offline
Points: 1705
Post Options Post Options   Thanks (0) Thanks(0)   Quote mdoubson Quote  Post ReplyReply Direct Link To This Post Posted: 03 August 2009 at 9:41am

Check COptionsDialogBar - it show many params set and get using UI and persistense

e.g.

COleDateTime dtScaleMinTime = GetCalendarCtrl()->GetCalendarOptions()->dtScaleMinTime;

COleDateTime dtScaleMaxTime = GetCalendarCtrl()->GetCalendarOptions()->dtScaleMaxTime;

int n1 = dtScaleMinTime.GetHour() * 2 + (dtScaleMinTime.GetMinute() ? 1 : 0);

int n2 = dtScaleMaxTime.GetHour() * 2 + (dtScaleMaxTime.GetMinute() ? 1 : 0);

m_ctrlMinScaleTimeCb.SetCurSel(n1);

m_ctrlMaxScaleTimeCb.SetCurSel(n2);

CXTPCalendarDayView* pDayView = DYNAMIC_DOWNCAST(CXTPCalendarDayView, pCalendar->GetDayView());

if (pDayView) {

pDayView->SetScaleMinTime(dtScaleMinTime);

pDayView->SetScaleMaxTime(dtScaleMaxTime);}

Back to Top
daywalker View Drop Down
Newbie
Newbie
Avatar

Joined: 30 July 2009
Status: Offline
Points: 7
Post Options Post Options   Thanks (0) Thanks(0)   Quote daywalker Quote  Post ReplyReply Direct Link To This Post Posted: 04 August 2009 at 8:32am
Thanks, the times are taken over, are not immediately active however.
Only if I call the form and the times again select it transferred in the calendar.
Where I find the form Appointment and Event Details ?

Thanks Daywalker
Product: Xtreme ToolKitPro 2009 version 13.0.0
     Platform: Windows Vista Ultimate (32bit) - SP 2
     Language: Visual Studio 2008 (Visual C++)


Back to Top
mdoubson View Drop Down
Senior Member
Senior Member
Avatar

Joined: 17 November 2008
Status: Offline
Points: 1705
Post Options Post Options   Thanks (0) Thanks(0)   Quote mdoubson Quote  Post ReplyReply Direct Link To This Post Posted: 04 August 2009 at 10:11am
This is snapshot before user changed MinTimeScale
 
This is snapshot after user changed MinTimeScale - reaction is immediate
 
 
Please open Issue and we can continue or learn recent sample (13.1) where you can find extended Option pane.
Back to Top
daywalker View Drop Down
Newbie
Newbie
Avatar

Joined: 30 July 2009
Status: Offline
Points: 7
Post Options Post Options   Thanks (0) Thanks(0)   Quote daywalker Quote  Post ReplyReply Direct Link To This Post Posted: 05 August 2009 at 3:03am
In the dialogue it functions. I would like to adjust it however directly in the SOURCE code.
If the program is then started, directly the announcement is to be correct.

Thanks Daywalker
Product: Xtreme ToolKitPro 2009 version 13.0.0
     Platform: Windows Vista Ultimate (32bit) - SP 2
     Language: Visual Studio 2008 (Visual C++)


Back to Top
mdoubson View Drop Down
Senior Member
Senior Member
Avatar

Joined: 17 November 2008
Status: Offline
Points: 1705
Post Options Post Options   Thanks (0) Thanks(0)   Quote mdoubson Quote  Post ReplyReply Direct Link To This Post Posted: 05 August 2009 at 12:51pm
Open Issue and we can continue
Back to Top
daywalker View Drop Down
Newbie
Newbie
Avatar

Joined: 30 July 2009
Status: Offline
Points: 7
Post Options Post Options   Thanks (0) Thanks(0)   Quote daywalker Quote  Post ReplyReply Direct Link To This Post Posted: 05 August 2009 at 3:43pm
as and where I open issue?
which mean you with issue?
Thanks Daywalker
Product: Xtreme ToolKitPro 2009 version 13.0.0
     Platform: Windows Vista Ultimate (32bit) - SP 2
     Language: Visual Studio 2008 (Visual C++)


Back to Top
SuperMario View Drop Down
Admin Group
Admin Group
Avatar

Joined: 14 February 2004
Status: Offline
Points: 18057
Post Options Post Options   Thanks (0) Thanks(0)   Quote SuperMario Quote  Post ReplyReply Direct Link To This Post Posted: 06 August 2009 at 10:57am
He means fills this out:

http://codejock.com/support/
Back to Top
daywalker View Drop Down
Newbie
Newbie
Avatar

Joined: 30 July 2009
Status: Offline
Points: 7
Post Options Post Options   Thanks (0) Thanks(0)   Quote daywalker Quote  Post ReplyReply Direct Link To This Post Posted: 07 August 2009 at 2:41am
Issue is open.
Product: Xtreme ToolKitPro 2009 version 13.0.0
     Platform: Windows Vista Ultimate (32bit) - SP 2
     Language: Visual Studio 2008 (Visual C++)


Back to Top
mdoubson View Drop Down
Senior Member
Senior Member
Avatar

Joined: 17 November 2008
Status: Offline
Points: 1705
Post Options Post Options   Thanks (0) Thanks(0)   Quote mdoubson Quote  Post ReplyReply Direct Link To This Post Posted: 07 August 2009 at 3:41pm
Sorry - I still not see it in our issue list - may be will see later?
Back to Top
daywalker View Drop Down
Newbie
Newbie
Avatar

Joined: 30 July 2009
Status: Offline
Points: 7
Post Options Post Options   Thanks (0) Thanks(0)   Quote daywalker Quote  Post ReplyReply Direct Link To This Post Posted: 10 August 2009 at 6:53am
Issue is now open. I renew my  maintenance subscription .
Product: Xtreme ToolKitPro 2009 version 13.0.0
     Platform: Windows Vista Ultimate (32bit) - SP 2
     Language: Visual Studio 2008 (Visual C++)


Back to Top
mdoubson View Drop Down
Senior Member
Senior Member
Avatar

Joined: 17 November 2008
Status: Offline
Points: 1705
Post Options Post Options   Thanks (0) Thanks(0)   Quote mdoubson Quote  Post ReplyReply Direct Link To This Post Posted: 18 August 2009 at 10:52pm
Right - and after Aug 12 you are not answering ?!
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down

Forum Software by Web Wiz Forums® version 12.04
Copyright ©2001-2021 Web Wiz Ltd.

This page was generated in 0.156 seconds.