Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Calendar
  New Posts New Posts RSS Feed - How to set same event id to multiple schedules?
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

How to set same event id to multiple schedules?

 Post Reply Post Reply
Author
Message Reverse Sort Order
prashant View Drop Down
Senior Member
Senior Member
Avatar

Joined: 19 February 2007
Location: India
Status: Offline
Points: 165
Post Options Post Options   Thanks (0) Thanks(0)   Quote prashant Quote  Post ReplyReply Direct Link To This Post Topic: How to set same event id to multiple schedules?
    Posted: 02 December 2008 at 4:07am
Hi,

Is it possible to set multiple schedule id's to single event?
Back to Top
prashant View Drop Down
Senior Member
Senior Member
Avatar

Joined: 19 February 2007
Location: India
Status: Offline
Points: 165
Post Options Post Options   Thanks (0) Thanks(0)   Quote prashant Quote  Post ReplyReply Direct Link To This Post Posted: 01 December 2008 at 6:41am
Hi Oleg,

The problem here is:

We are having single event with multiple schedules.

How can I set different schedule id's to this single event?

Is it possible? Thanks.
Back to Top
Makarand View Drop Down
Senior Member
Senior Member
Avatar

Joined: 27 February 2007
Location: India
Status: Offline
Points: 140
Post Options Post Options   Thanks (0) Thanks(0)   Quote Makarand Quote  Post ReplyReply Direct Link To This Post Posted: 27 November 2008 at 12:45am
Hi,
I am using following code to create event in multischedule.

   m_pCalendar = &GetCalendarCtrl();
   pCalendarData = m_pCalendar->GetDataProvider();
   ptrEvent = pCalendarData->CreateNewEvent();
   ptrEvent->SetStartTime(evntStTime);
   ptrEvent->SetEndTime(evntEndTime);
   ptrEvent->SetSubject(strSubject);
   ptrEvent->SetLabelID(iColor);
   ptrEvent->SetScheduleID(nScheduleID);
   ptrEvent->SetEventID(nEventID);

I am setting eventID to the event. Now i need to use the same event ID for more than one schedule.

In this case I can't see the all events on the calendar.

How can I display the events whose event ID is same but the schedules are different? (More than one)


Please help me out.
Thanks in advance
-Makarand.
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.