Solved

Multiple files

Posted on 1998-06-22
3
162 Views
Last Modified: 2013-11-20
If many people were working on a task and all on differant views like one person on Dialogs the other person on a graph interface playing with the OnDraw function. If the graph interface has to be brought into the dialog project by not modifying the dialog project and only including the files of the graph task. How do I do it ? Since both use the CMyView class there is bound to be sharing or multiple declaratins problems How do I solv ethis problem. And does the Invalidate function work with a constructor?
0
Comment
Question by:sram
3 Comments
 
LVL 2

Expert Comment

by:kinkajou
ID: 1318285
Could you simplify your question and use shorter sentences. Your question is confusing. It does sound like this is a case for multi-threading your functions to handle your dialog and graph interface so that they are not using the same instance of the OnDraw() function.
0
 

Author Comment

by:sram
ID: 1318286
There are two people working in the task 1) Working on the Dialogs. 2) Working on Graph task. What has to be done to pull the graph task (which uses the OnDraw()) into the Dialog project?
This had to be done only by adding the graph task files to the dialog project.Since both use the view class there is a linking error.(LNK2005).
0
 
LVL 9

Accepted Solution

by:
Priyesh earned 50 total points
ID: 1318287
sram, the answers are general since the question isn't much clear.
       As u see, a dialog project does not accomodate a document or view, it just launches  a dialog as modal. If u have to attach a view to this, One solution is that, u build a separate project, attach this dialog as a formview into it and accomodate the other files (views) as other document templates. If u have more than one view, u have to switch it in some means or other.
Another solution is that u add these as views to u'r document, provided u'r dialog and graphview uses the same data.
If u can't adjust with the idea of adding a dialog as a formview, then u have to find some mechanism to show these dialogs. That means u need a separate workspace were u integrate the dialogs, views etc and show them appropriate..
Please refer all these points stated above and get back or if u have already solved this, good luck..
0

Featured Post

How to improve team productivity

Quip adds documents, spreadsheets, and tasklists to your Slack experience
- Elevate ideas to Quip docs
- Share Quip docs in Slack
- Get notified of changes to your docs
- Available on iOS/Android/Desktop/Web
- Online/Offline

Join & Write a Comment

Suggested Solutions

Title # Comments Views Activity
Handling string inputs in C/Linux 23 168
ODBC Connection Logging, ADO.NET 6 49
lucky13 challenge 11 112
post4 challenge 28 83
Introduction: Displaying information on the statusbar.   Continuing from the third article about sudoku.   Open the project in visual studio. Status bar – let’s display the timestamp there.  We need to get the timestamp from the document s…
Introduction: Dialogs (2) modeless dialog and a worker thread.  Handling data shared between threads.  Recursive functions. Continuing from the tenth article about sudoku.   Last article we worked with a modal dialog to help maintain informat…
This video will show you how to get GIT to work in Eclipse.   It will walk you through how to install the EGit plugin in eclipse and how to checkout an existing repository.
When you create an app prototype with Adobe XD, you can insert system screens -- sharing or Control Center, for example -- with just a few clicks. This video shows you how. You can take the full course on Experts Exchange at http://bit.ly/XDcourse.

758 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question

Need Help in Real-Time?

Connect with top rated Experts

20 Experts available now in Live!

Get 1:1 Help Now