Click here to Skip to main content
15,906,463 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
Generalscrollbars in a richedit Pin
ns17-Sep-02 4:36
ns17-Sep-02 4:36 
GeneralWord in C++ Pin
insanely42017-Sep-02 4:24
insanely42017-Sep-02 4:24 
GeneralRe: Word in C++ Pin
jmkhael17-Sep-02 6:48
jmkhael17-Sep-02 6:48 
GeneralRe: Word in C++ Pin
Bill Wilson17-Sep-02 10:27
Bill Wilson17-Sep-02 10:27 
GeneralRe: Word in C++ Pin
insanely42017-Sep-02 11:00
insanely42017-Sep-02 11:00 
GeneralWinSock: How do I get the Host Name Pin
Robert Scheckle17-Sep-02 3:44
Robert Scheckle17-Sep-02 3:44 
GeneralRe: WinSock: How do I get the Host Name Pin
Bart Robeyns17-Sep-02 4:43
Bart Robeyns17-Sep-02 4:43 
GeneralWorkspace Model Pin
Ryan B.17-Sep-02 3:41
Ryan B.17-Sep-02 3:41 
You guys are all familiar with SDI and MDI models of application design (ie Document View Architecture).
Im reading through Prosise (MFC) and came across this:

Alternatives to MDI
A workspace-based model that groups related documents in objects called worspaces and allows documents 
contained in a workspace to be viewed and edited in MDI-like document frames that are children of a top 
level frame window. Visual C++ is one example of an application that uses the workspace 
containment model.
I would be interested to know if anyone has had any success programming an application with a model similar
to this. I am interested in this model mainly because the application I am designing is going to need
"modular" documents. That is, a user is going to be able to add many different types of documents to their
workspace. The workspace object will need to be serialized so that it can be saved and loaded. Its a major
undertaking because there is also a document designer application that the user can use to generate active
documents that can be loaded into the workspace. These documents are just "views" of data objects that will
also have to be serialized along with a workspace.

In other words containment is
workspace
--> multiple data objects (dynamically added)
--> multiple documents (views) (dynamically added)

Has anyone seen or read any articles on this style? Seen any similar open source projects / examples? The
model has also been called the "floating Document Interface". Apparantly CodeWarrior uses it as a
stock programming model (along with MDI / SDI).

Ryan Baillargeon
Software Specialist
Fuel Cell Technologies Inc.
GeneralRe: Workspace Model Pin
Ryan B.17-Sep-02 8:54
Ryan B.17-Sep-02 8:54 
GeneralRe: Workspace Model Pin
Bill Wilson17-Sep-02 11:21
Bill Wilson17-Sep-02 11:21 
Questionhow to get input from user Pin
ns17-Sep-02 3:04
ns17-Sep-02 3:04 
AnswerRe: how to get input from user Pin
Ravi Bhavnani17-Sep-02 3:31
professionalRavi Bhavnani17-Sep-02 3:31 
GeneralRe: how to get input from user Pin
ns17-Sep-02 3:38
ns17-Sep-02 3:38 
GeneralRe: how to get input from user Pin
Ravi Bhavnani17-Sep-02 3:36
professionalRavi Bhavnani17-Sep-02 3:36 
GeneralRe: how to get input from user Pin
ns17-Sep-02 3:59
ns17-Sep-02 3:59 
QuestionBIG OR LITTLE QUESTION? Pin
ZBUILDER17-Sep-02 2:46
ZBUILDER17-Sep-02 2:46 
AnswerRe: BIG OR LITTLE QUESTION? Pin
jhwurmbach17-Sep-02 2:54
jhwurmbach17-Sep-02 2:54 
AnswerRe: BIG OR LITTLE QUESTION? Pin
Bart Robeyns17-Sep-02 2:57
Bart Robeyns17-Sep-02 2:57 
GeneralRe: BIG OR LITTLE QUESTION? Pin
ZBUILDER17-Sep-02 3:08
ZBUILDER17-Sep-02 3:08 
Questioncan Anybody tell me, how to resolve a trouble debug assert fail? Pin
Anonymous17-Sep-02 2:36
Anonymous17-Sep-02 2:36 
AnswerRe: can Anybody tell me, how to resolve a trouble debug assert fail? Pin
Bart Robeyns17-Sep-02 2:49
Bart Robeyns17-Sep-02 2:49 
GeneralIssues with char ** pointers Pin
Jon Hulatt17-Sep-02 2:18
Jon Hulatt17-Sep-02 2:18 
GeneralRe: Issues with char ** pointers Pin
Roger Allen17-Sep-02 2:27
Roger Allen17-Sep-02 2:27 
GeneralRe: Issues with char ** pointers Pin
Jon Hulatt17-Sep-02 2:31
Jon Hulatt17-Sep-02 2:31 
GeneralProject managment under Visual C++ Pin
auroch17-Sep-02 2:04
auroch17-Sep-02 2:04 

General General    News News    Suggestion Suggestion    Question Question    Bug Bug    Answer Answer    Joke Joke    Praise Praise    Rant Rant    Admin Admin   

Use Ctrl+Left/Right to switch messages, Ctrl+Up/Down to switch threads, Ctrl+Shift+Left/Right to switch pages.