Hi, i need to create my objects in this way:
- choose the tool from a toolbar.
- the user can move the cursor (a crossair) over the diagram.
- create my GoObject at the click.
very similar to a CAD application.
i extented the GoTool class, and work ok.
Now the problem is give the feedback to the user while add objects to a GoSubGraph : some objects are not compatible with others, and i want to show the Cursors.No when the operation in not available for the GoObject under the cursor.
I found some possible solutions (screen coordinates, conversion to doc coordinates) but i think it’s a commond problem, and probably there is a better way for do this.
Regards,
Davide