Tutorials > Application Framework > The Bitmap Editor Application > Step 5: Adding Zoom Commands > Modifying the BitmapView Class to Catch the New Actions
Modifying the BitmapView Class to Catch the New Actions
First, the interface of the view must be modified to declare the new actions:
IlvDvBeginInterface(BitmapView)
Method1(BitmapHasChanged, bitmapHasChanged, IlAny, region)
Action(ZoomIn, zoomIn)
Action(ZoomOut, zoomOut)
IlvDvEndInterface1(IlvDvFormView)
Then, the BitmapView::zoomIn and BitmapView::zoomOut methods need to be implemented.
Published date: 05/24/2022
Last modified date: 02/24/2022