Codejock Forums Homepage
Forum Home Forum Home > Codejock Products > ActiveX COM > Calendar
  New Posts New Posts RSS Feed - SelectViewEvent
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

SelectViewEvent

 Post Reply Post Reply
Author
Message
dmsa View Drop Down
Groupie
Groupie
Avatar

Joined: 22 June 2007
Location: United Kingdom
Status: Offline
Points: 21
Post Options Post Options   Thanks (0) Thanks(0)   Quote dmsa Quote  Post ReplyReply Direct Link To This Post Topic: SelectViewEvent
    Posted: 28 March 2009 at 9:22am
 
Hi All,
I found this old post on google, along with a reply from Serg saying it will be added in the next release.
Can you tell me if it is now posible?
 
 
I ‘m trying  to use the "SelectViewEvent" method without using the "HitTest" method.  Is that possible?
I wish to use the Event object directly.
I have tested the following code:
XtremeCalendar>>ActiveView>>SelectViewEvent(Even t>>ID,True)

But that does not work at all!

Is there any way to select an event during planning loading?

Replies:


Posted By: sserge
Date Posted: 25 January 2006 at 9:40am


Hi,

Unfortunately in the current version this is not possible. We will add such functionality for the next release.

--
WBR,
Serge

Mk
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: 28 March 2009 at 8:23pm

There is a function

BOOL CXTPCalendarControl::SelectEventById(DWORD dEventID)

and it's interface in ActiveX SelectEventByID
DISP_FUNCTION_ID(CCalendarControlCtrl, "SelectEventByID", 180, OleSelectEventByID, VT_EMPTY, VTS_I4)
but you need to know dEventID - means you need to query your database (or parse your data file) to find it using some data you know about this event
Back to Top
dmsa View Drop Down
Groupie
Groupie
Avatar

Joined: 22 June 2007
Location: United Kingdom
Status: Offline
Points: 21
Post Options Post Options   Thanks (0) Thanks(0)   Quote dmsa Quote  Post ReplyReply Direct Link To This Post Posted: 29 March 2009 at 1:57pm
Many thanks Mark, that works a treat
Mk
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: 29 March 2009 at 11:38pm
Good - this is new function I made in ver 13.0 - for advanced user...
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.188 seconds.