www.skylinesoft.com Homepage
Forum Home Forum Home > SkylineGlobe Enterprise Products > TerraExplorer for Developers
  New Posts New Posts RSS Feed - Problem trying to edit vertices/move 2D object
  FAQ FAQ  Forum Search   Events   Register Register  Login Login

Problem trying to edit vertices/move 2D object

 Post Reply Post Reply
Author
Message
rajeev.sood View Drop Down
Visitor
Visitor
Avatar

Joined: November 08 2010
Location: United States
Status: Offline
Points: 7
Post Options Post Options   Thanks (0) Thanks(0)   Quote rajeev.sood Quote  Post ReplyReply Direct Link To This Post Topic: Problem trying to edit vertices/move 2D object
    Posted: June 02 2011 at 10:00pm
I've built a custom application using the TE Pro v6.0 ActiveX control and C# (.Net v3.5).  As part of this, I've created my own property sheet and I wanted to emulate the edit vertices and move buttons.  I tried to accomplish this via the ProjectTree.EditItem() call.  

However, although the 2D object highlights appropriately (as it does in TE Pro when editing), it does not enable vertices edit and when I attempt to move the object (the mouse switches to the standard "move" cursor) and begin dragging, the application crashes hard with a System.AccessViolationException.  Exception is:

   at System.Windows.Forms.UnsafeNativeMethods.ThemingScope.DeactivateActCtx(Int32 dwFlags, IntPtr lpCookie)
   at System.Windows.Forms.UnsafeNativeMethods.ThemingScope.Deactivate(IntPtr userCookie)
   at System.Windows.Forms.Application.ThreadContext.RunMessageLoop(Int32 reason, ApplicationContext context)
   at System.Windows.Forms.Application.Run(Form mainForm)

Is there a bug in the TE Pro ActiveX control?  Is it even possible to tap into the built-in functionality in the modal property sheet buttons (for move-xy, move-z, and edit vertices), or do I need to recreate it from scratch?  Any thoughts?

Thanks,
Raj

Back to Top
rajeev.sood View Drop Down
Visitor
Visitor
Avatar

Joined: November 08 2010
Location: United States
Status: Offline
Points: 7
Post Options Post Options   Thanks (0) Thanks(0)   Quote rajeev.sood Quote  Post ReplyReply Direct Link To This Post Posted: June 07 2011 at 4:55pm
So no help on this one?
Back to Top
wengel View Drop Down
Skyline Admin Group
Skyline Admin Group
Avatar

Joined: June 08 2007
Location: United States
Status: Offline
Points: 23
Post Options Post Options   Thanks (0) Thanks(0)   Quote wengel Quote  Post ReplyReply Direct Link To This Post Posted: June 07 2011 at 5:12pm
This will be passed direct to support for a more timely reply.  We hope to have an answer direct to you as quickly as possible.
 
 
 
Back to Top
 Post Reply Post Reply
  Share Topic   

Forum Jump Forum Permissions View Drop Down



This page was generated in 0.141 seconds.