On Sat, Jul 18, 2009 at 11:09 AM, Michael Stratmann<stratm...@micst.de> wrote:
> some examples, e.g. sample_editor_wires, support zoom by the mouse wheel. 
> Others, e.g. sample_docview_aui, do not.
>
> What is the relevant difference, so I can use the zoom? Where is the event 
> handler coded? I would like to update some control in my toolbar or statusbar 
> to show the actual zoom level.

I think you need to add a tool controller for your canvas view:

m_contr = new a2dStToolContr(m_canvas->GetCanvasView() ,this);

That enabled the zoom in mine.

I do wish I could override some of the controls though, but I'm not
sure how it is done.  Particularly, I'd like to make it so I can
enable a hand tool when the spacebar is pressed.

------------------------------------------------------------------------------
Enter the BlackBerry Developer Challenge  
This is your chance to win up to $100,000 in prizes! For a limited time, 
vendors submitting new applications to BlackBerry App World(TM) will have
the opportunity to enter the BlackBerry Developer Challenge. See full prize  
details at: http://p.sf.net/sfu/Challenge
_______________________________________________
Wxart2d-users_dev mailing list
Wxart2d-users_dev@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/wxart2d-users_dev

Reply via email to