SelectViewEvent |
Post Reply |
Author | |
dmsa
Groupie Joined: 22 June 2007 Location: United Kingdom Status: Offline Points: 21 |
Post Options
Thanks(0)
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! Replies: Posted By: sserge
|
|
Mk
|
|
mdoubson
Senior Member Joined: 17 November 2008 Status: Offline Points: 1705 |
Post Options
Thanks(0)
|
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
|
|
dmsa
Groupie Joined: 22 June 2007 Location: United Kingdom Status: Offline Points: 21 |
Post Options
Thanks(0)
|
Many thanks Mark, that works a treat
|
|
Mk
|
|
mdoubson
Senior Member Joined: 17 November 2008 Status: Offline Points: 1705 |
Post Options
Thanks(0)
|
Good - this is new function I made in ver 13.0 - for advanced user...
|
|
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 |