A
Alejandro Serrano
Hi,
I'm trying to create an object surface (much like PowerPoint's, but for
easier things) using GDI+. I mantain a record of the objects, and their
properties, so as of now I'm able to paint the items in the Graphics object.
However, I also need to make some work with this objects. The first one
is to know, when the user clicks somewhere, in which of the items he or
she has clicked. As first, I was trying to use Rectangle methods, but my
items can be rotated, so it doesn't work very well.
Second, I need to move the items, so I don't know how to do it well. For
example, an user clicks on an item, a popup menu shows, and selects
rotate. The actual results must be shown on the screen until the user
accepts the changes.
Is there any tutorial / information / help available for waht I'm
looking for?
Thanks in advance
I'm trying to create an object surface (much like PowerPoint's, but for
easier things) using GDI+. I mantain a record of the objects, and their
properties, so as of now I'm able to paint the items in the Graphics object.
However, I also need to make some work with this objects. The first one
is to know, when the user clicks somewhere, in which of the items he or
she has clicked. As first, I was trying to use Rectangle methods, but my
items can be rotated, so it doesn't work very well.
Second, I need to move the items, so I don't know how to do it well. For
example, an user clicks on an item, a popup menu shows, and selects
rotate. The actual results must be shown on the screen until the user
accepts the changes.
Is there any tutorial / information / help available for waht I'm
looking for?
Thanks in advance