Best way to setup this code - two client views
-
Using Visual C++ 6.0 MFC I would like to setup a program where the user can use a menu item to display either of two views (say one view displays a square and if the other view is selected a circle is displayed). In addition I would like certain mouse events to cause the view to switch between these same two views. Say a left mouse click causes the square view to be displayed and a right mouse click causes the circle view to be displayed. What is the best way to set something like this up? I can try to fill in the details, just looking for the best way to set things up initially.
-
Using Visual C++ 6.0 MFC I would like to setup a program where the user can use a menu item to display either of two views (say one view displays a square and if the other view is selected a circle is displayed). In addition I would like certain mouse events to cause the view to switch between these same two views. Say a left mouse click causes the square view to be displayed and a right mouse click causes the circle view to be displayed. What is the best way to set something like this up? I can try to fill in the details, just looking for the best way to set things up initially.
search for Multiple View using SDI see here[Multiple View using SDI and switch view using popup menu^]