Thomas Zehbe wrote:
> I'd like to get a "left mouse button click" in a subclass of an 
> a2dDocumentMDIChildFrame providing the world coordinates, so that i can 
> update the corresponding CanvasDoc (drawing something at the point i have 
> clicked to). Maybe i'm to stupid, but i didn't find an example (looked for 
> EVT macros) in the samples.
>   
I think this is not what i had in mind ;-)
You should use a a2dCanvasView which is part of a2dCanvas, and a 
controller and write/use the a2dTool's.
Then all is oke. So the a2dCanvas should become part of the frame. 
Sampels enough that show that. e.g. editmdi
If you decide todo it all again, you are on your own.

But may i should first ask why you want a2dCanvasDocument in a different 
way?

Klaas


-------------------------------------------------------------------------
This SF.net email is sponsored by the 2008 JavaOne(SM) Conference 
Don't miss this year's exciting event. There's still time to save $100. 
Use priority code J8TL2D2. 
http://ad.doubleclick.net/clk;198757673;13503038;p?http://java.sun.com/javaone
_______________________________________________
Wxart2d-users_dev mailing list
Wxart2d-users_dev@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wxart2d-users_dev

Reply via email to