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
P

PRC

@PRC
About
Posts
3
Topics
1
Shares
0
Groups
0
Followers
0
Following
0

Posts

Recent Best Controversial

  • Render multiple object in single view
    P PRC

    Thanks to all for the response. Led Mike - think you may have me sorted on this one. The objects primary intent is not to render so you are correct that Separation of concerns would suggest my idea was a bad idea. Thanks to all for the response. Paul C

    C / C++ / MFC c++ oop question

  • Render multiple object in single view
    P PRC

    Hi David, I have a splitter window. One view is the list of available objects (which is pretty simple ) and the other is the view of the selected object. If the second view has contain all of the code to be able to render each object type then it will be an enormous amount of code. The list of available objects will be extended in the future and I was trying to come up with a way of having each object be able to render itself rather than have the one view 'know' about all of the objects and ultimately each time an addition was made it breaking previous code. Or is this just a dumb idea for a Thursday afternoon.... Paul C

    C / C++ / MFC c++ oop question

  • Render multiple object in single view
    P PRC

    Hi, MFC - VS2005, based application. I have a number of objects, derived from the same base class. In the future I expect to be adding more. Two views are provided on my app a CView based splitter, one is a simple list of the available objects the other is pane within which I would like each object type to render itself. The view of each object while complex will have some similarities so I would anticipate a display class with inheritance etc. So what might be the best way of implementing this display ? Derive my display objects from CWnd and as the user selects each one in the list pane create and inject a new display object into the CView client area ? Or ??? Many Thanks, Paul C

    C / C++ / MFC c++ oop question
  • Login

  • Don't have an account? Register

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