Zooming the selection


I would like to change the functionality of the normal object selecting if the zoom button is turned on (if some value is set to 'true'). If the user tries to select the objects by dragging the selection rectangle arround them with the zoom button on, it should zoom that selection so the top-left corner of the rectangle becomes top-left corner in the view and all the selected objects are zoomed to fit in the rectangle but not selected. I tried to override GoToolRubberBanding, but i did't really know how. Is it possible to do? Can you help me, please?
Thank you in advance.

That’s what GoToolZooming is for. The WebWalker sample demonstrates it.

You'll need to decide if that is a one-time action by the user (i.e Modal), or if the user should be able to keep doing that (mode-less). The former case is demonstrated by WebWalker.
In the latter case you'll want to replace the standard GoToolRubberBanding tool with an instance of GoToolZooming:
goView1.ReplaceMouseTool(typeof(GoToolRubberBanding), new GoToolZooming(goView1));