Page Index Toggle Pages: 1 Send TopicPrint
Normal Topic expecteddestination (Read 1812 times)
Brian Korinek
Guest


expecteddestination
Aug 19th, 2006 at 1:46pm
Print Post  
Can you post a C++ example of the GetExpectedDestination function within a RequestCreateArrow event?

Thanks!
  
Back to top
 
IP Logged
 
Stoyo
God Member
*****
Offline


MindFusion support

Posts: 13230
Joined: Jul 20th, 2005
Re: expecteddestination
Reply #1 - Aug 21st, 2006 at 5:47am
Print Post  
Hi,

If you use the MFC wrapper classes, you could create a wrapper instance like this:

BoxItem box(arrow->GetExpectedDestination());

or

TableItem table(arrow->GetExpectedDestination());

If you use both boxes and tables in your application, call

arrow->GetExpectedDestination()->QueryInterface() to find out if the destination node is a box or a table.

I hope that helps,
Stoyan
  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1
Send TopicPrint