Nobody out there, to tell me how to interact with wxPLplotwindow?

It looks to me, that all mouse events are already handled by wxPLplotwindow, 
because I do not get any of them in my derived class, but what happens with 
the mouse events? How can I get any information about mouse position or how 
can I zoom into a plot?

Thanks,
Michal

On Friday 29 April 2011 15:24, Michal Simecek wrote:
> Hi all,
>
> I'm using plplot with wxwidgets. I created a wxPLplotwindow and integrated
> it into my application. Now I try to interact with that window. Nothing
> special, I just want to have the mouse position in world coordinates. I try
> to do the same, like some of the examples are doing with the "Locate" menu.
> I use GetCursor to get the required coordinates, but it always returns with
> 0. That means, an error.
> After debugging into plplot, it looks to me, that GetCursor works only if
> ownGUI is true.
> Is that right, or how to use GetCursor to get the right information?
>
> Thanks,
> Michal
>
> ---------------------------------------------------------------------------
>--- WhatsUp Gold - Download Free Network Management Software
> The most intuitive, comprehensive, and cost-effective network
> management toolset available today.  Delivers lowest initial
> acquisition cost and overall TCO of any competing solution.
> http://p.sf.net/sfu/whatsupgold-sd
> _______________________________________________
> Plplot-general mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/plplot-general

-- 
Michal Simecek

GenISys GmbH, Eschenstr. 66, D-82024 Taufkirchen

Ph: +49(89) 330 91 97-76; Fax: +49(89) 330 91 97-61

------------------------------------------------------------------------------
WhatsUp Gold - Download Free Network Management Software
The most intuitive, comprehensive, and cost-effective network 
management toolset available today.  Delivers lowest initial 
acquisition cost and overall TCO of any competing solution.
http://p.sf.net/sfu/whatsupgold-sd
_______________________________________________
Plplot-general mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/plplot-general

Reply via email to