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.

Version 6.1
Copyright © 2016, Rogue Wave Software, Inc. All Rights Reserved.