Embed presentation















The document contains code for two methods in a CMap2View class: 1. OnLButtonDown handles left mouse button clicks by getting a device context, setting the map mode and viewport, selecting a blue pen, and drawing coordinate axes and labels. 2. OnRButtonDown handles right mouse clicks by getting a device context, setting the map mode and viewport, selecting a red pen, and drawing diagonal lines across the viewport.













