(C#) Fixed Vertex point, but draggable user control.
I need help...
I would like to have a user control with a vertex like "those balloon tooltips".
I would like to call this control at any point on the screen and it pops up with a vertex at the mouse point.
Then i would like to drag this control...BUT: Keep the vertex point fixed, the size of the long arm should be the one to move.The panel size can also be fixed(assuming we are going to use a panel like UC).
So far:
I got some where and now i need [one] fix to get this resolved.
Attached herewith is a mockup of what i want.
I put it together using the code Click Here
and Click there.
Issue: I can create the Panel and the Triangular region, but i am failing to drag the panel together with the triangular region. The issue as i indicated in the code is in the event handler, the drag cant seem to be called. I tried to step through and all tricks but am failing. Any help will be appreciated.
regards.
I need help...
I would like to have a user control with a vertex like "those balloon tooltips".
I would like to call this control at any point on the screen and it pops up with a vertex at the mouse point.
Then i would like to drag this control...BUT: Keep the vertex point fixed, the size of the long arm should be the one to move.The panel size can also be fixed(assuming we are going to use a panel like UC).
So far:
I got some where and now i need [one] fix to get this resolved.
Attached herewith is a mockup of what i want.
I put it together using the code Click Here
and Click there.
Issue: I can create the Panel and the Triangular region, but i am failing to drag the panel together with the triangular region. The issue as i indicated in the code is in the event handler, the drag cant seem to be called. I tried to step through and all tricks but am failing. Any help will be appreciated.
regards.
Attachments
Last edited: