Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C / C++ / MFC
  4. Best way to setup this code - two client views

Best way to setup this code - two client views

Scheduled Pinned Locked Moved C / C++ / MFC
c++questionworkspace
2 Posts 2 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • K Offline
    K Offline
    Kwanalouie
    wrote on last edited by
    #1

    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.

    R 1 Reply Last reply
    0
    • K Kwanalouie

      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.

      R Offline
      R Offline
      Rajkumar R
      wrote on last edited by
      #2

      search for Multiple View using SDI see here[Multiple View using SDI and switch view using popup menu^]

      1 Reply Last reply
      0
      Reply
      • Reply as topic
      Log in to reply
      • Oldest to Newest
      • Newest to Oldest
      • Most Votes


      • Login

      • Don't have an account? Register

      • Login or register to search.
      • First post
        Last post
      0
      • Categories
      • Recent
      • Tags
      • Popular
      • World
      • Users
      • Groups