Michael Stratmann wrote:
> Hello,
>
> some examples, e.g. sample_editor_wires, support zoom by the mouse wheel. 
> Others, e.g. sample_docview_aui, do not. 
>   
The docview samples use only the docview module. which  is lower in 
hierarchy to the canvas.
So i do not use the zooming in there since this something implemented in 
the canvas module.

a2dCanvas::OnWheel.
> 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.
>   
a2dStToolContr search for sm_showCursor.
You can intercept the a2dComEvent with that id, and fill the statusbar 
of the m_where frame mention there.
This will be at all mouse events, so it will be oke.
There is not a special com event for the change in zoom of the canvas yet.

Klaas


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