CFormView in a Dialog Based Aplication
-
Hello, I want to scroll the content (among other things) and I would like to use CScrollView class that already handles all the bulk of the code. The question is: Can a View as CFormView used without an atached Doc and a Frame?, that's it appart of Doc/View architecture. Thanks in advanced.
-
Hello, I want to scroll the content (among other things) and I would like to use CScrollView class that already handles all the bulk of the code. The question is: Can a View as CFormView used without an atached Doc and a Frame?, that's it appart of Doc/View architecture. Thanks in advanced.
I believe it can't, but that doesn't mean you're stuck: simply create an "empty" document class. To add the view to that document, you can either do it manually, or even better: create a document template. You can create the document using the class-wizard, which is a snap. The template you simply instanciate with the run-time classes of the document and the view. -- Nitzan