Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > Visual C++ MFC > Calendar
  New Posts New Posts RSS Feed - Handling XTP_NC_CALENDAREVENTWASCHANGED
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Handling XTP_NC_CALENDAREVENTWASCHANGED

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

Joined: 26 April 2005
Location: Netherlands
Status: Offline
Points: 30
Post Options Post Options   Thanks (0) Thanks(0)   Quote Martin Quote  Post ReplyReply Direct Link To This Post Topic: Handling XTP_NC_CALENDAREVENTWASCHANGED
    Posted: 31 May 2005 at 3:37am

Hi all,

does anybody know how to get a pointer to a calendar event when you are handling the XTP_NC_CALENDAREVENTWASCHANGED event?

I know wParam holds the EventID but that's not enough (or is it?).

I tried using the data provider to call GetEvent but this is a protected member function so that's a dead end.

Any help on this is greatly appreciated.

Thanks,
Martin

Back to Top
Martin View Drop Down
Newbie
Newbie
Avatar

Joined: 26 April 2005
Location: Netherlands
Status: Offline
Points: 30
Post Options Post Options   Thanks (0) Thanks(0)   Quote Martin Quote  Post ReplyReply Direct Link To This Post Posted: 31 May 2005 at 4:06am

Sergey told me that this function:

CXTPCalendarData::GetEvent(DWORD dwEventID)

is protected in RC1 but public in RC2.

So the solution is to change it from protected to public

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.141 seconds.