I'm sorry if I'm nagging, but I still have some more questions (and bug reports) :)
1. Saving files in the CVG file format doesn't work. It doesn't work in my code (a simple replication of the code found in the samples) nor does it work in any of the samples provided. Loading a CVG file works, but saving doesn't. Loading and saving of SVG files works, in my app as well. Here's the error I get when I try to save something as a CVG file: Sorry, could not open stream for saving template I/O handler error during saving in this format I tried debugging it, but I couldn't find anything out of order; it even returns success as if the file was written! What does happen is that the file is created, but it is always zero bytes in size, nothing gets written. One strange thing is that it works on Windows - I'm running Ubuntu 9.10 and it doesn't work, but everything works on Windows. So, can you please tell me what is the crucial difference between those two handlers (the SVG and the CVG handler) and the possible reason why does the CVG handler fails under Linux and the SVG handler doesn't? 2. In the wires sample, DeleteContents() is invoked when using a drag tool to put new objects on the canvas - how that does not delete any objects in the document? If I invoked it in my code in the same place, the entire canvas gets delete (as expected?). Am I doing something wrong? :) 3. In my app, I'm using the drag tool to drag objects on to the canvas (just like in the wires sample); however, unlike to what is found in the wires sample and what is expected, the drag tool in my application creates a copy of the object at the coordinates 0,0, always! So, I click on an element in the list box (e.g. I want to drag a new resistor to the canvas), that element appears in the canvas at 0,0 (and stays there, forever) and I'm able to drag the same type of an element and release it somewhere on the canvas, thus creating two elements instead of just one. If I click on some other element in the list box, then that new element is drawn on 0,0 and there where I release it. The code for that is virtually a copy of the one found in the wires sample so I'm again asking myself I'm doing something wrong :) 4. In the wires sample (and in my application), if I'm dragging an element and I move the pointer to the edge of the canvas and, for instance, click on a toolbar button that will push the master tool on the tool controller stack, then the element that was being dragged but not release stays on the canvas, which is different from the behavior that the user expects. Is that a bug or? I appreciate all the answers, thanks :) -- Infinite diversity in infinite combinations ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ Wxart2d-users_dev mailing list Wxart2d-users_dev@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/wxart2d-users_dev