Am Dienstag, 15. April 2008 schrieb klaas.holwerda:
> 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
I'll take a look at this, thanks.
> If you decide todo it all again, you are on your own.
That's not what i want to do :). i want to use your wxA2D. At first sight your 
package has much more features, than i need for my little project (which is 
private and non commercial, btw), but has exactly the features, which make 
life easy for me. But to be honest, there is a learning curve and therefore a 
price, which has to be paid by me for using it :).
>
> But may i should first ask why you want a2dCanvasDocument in a different
> way? 
That's only because i still haven't discovered the "right" way. I'm still 
walking on standard wxWidgets ways (the simple ones, where I simply add an 
event handler for the widget, which i see on the form just created).

If I understand you right, the events can be caught and handled in the 
a2dCanvasView. I will look deeper into it using the mentioned sample.

I'll promise to read the docs again to get a deeper insight :).

Regards,
Thomas

>
> 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/java
>one _______________________________________________
> Wxart2d-users_dev mailing list
> Wxart2d-users_dev@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/wxart2d-users_dev



-- 
Dipl.-Ing. Thomas Zehbe
Kuhweide 6
31552 Apelern

-------------------------------------------------------------------------
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