Hi Ibraim, Yesid Hernandez wrote: > Hi all, > > I'm working with a modified version of the wires example. Right now I'm > putting some elements, what I want to do is that when I double click the > element appears a dialog with it's properties. > Oke, the hard stuff :-) > So for now I can get the DClick event, and popup a wxMessageBox, but > right now I don't know the element that sended the event, so this is the > help I'm asking for, I need to know for example where the a2dCanvas > saves all the elements with it's information. The idea is to have a > identifier I saved in the element when I created. > a2dCanvasDocument contains all the object, as a2dCanvasObjects, andn the base class a2dObject of that has GetName() and that one is a string, constructed from GetUniqueSerializationId() as an integer. Which i more or less they address of the object.
Klaas ------------------------------------------------------------------------- This SF.net email is sponsored by DB2 Express Download DB2 Express C - the FREE version of DB2 express and take control of your XML. No limits. Just data. Click to get it now. http://sourceforge.net/powerbar/db2/ _______________________________________________ Wxart2d-users_dev mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/wxart2d-users_dev
