SD wrote: > Hello all, > > how can i get an event after an object has been drawn with a tool? > For example, a line after the second left mouse click. > > I want to assigned this object a name after it is drawn. > a2dStTool::AddCurrent() is used to add new object when they are drawn, but not at the end but mostly at the start. But i think that is oke for you. This function sends an event sm_toolComEventAddObject. Search this in sttool.cpp, it is for instance intercepted in a2dStToolEvtHandler.
Regards, Klaas ------------------------------------------------------------------------- This SF.net email is sponsored by: Splunk Inc. Still grepping through log files to find problems? Stop. Now Search log events and configuration files using AJAX and a browser. Download your FREE copy of Splunk now >> http://get.splunk.com/ _______________________________________________ Wxart2d-users_dev mailing list Wxart2d-users_dev@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wxart2d-users_dev