Click here to Skip to main content
15,913,123 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: wher is search engine to find a poster? Pin
includeh1029-Jul-04 5:40
includeh1029-Jul-04 5:40 
GeneralRe: wher is search engine to find a poster? Pin
Michael P Butler29-Jul-04 5:44
Michael P Butler29-Jul-04 5:44 
GeneralRe: wher is search engine to find a poster? Pin
includeh1029-Jul-04 6:03
includeh1029-Jul-04 6:03 
GeneralMultiple project solution Pin
HohohoMyHo29-Jul-04 1:31
HohohoMyHo29-Jul-04 1:31 
GeneralRe: Multiple project solution Pin
SOCM_FP_CPP29-Jul-04 2:29
SOCM_FP_CPP29-Jul-04 2:29 
GeneralRe: Multiple project solution Pin
HohohoMyHo29-Jul-04 2:43
HohohoMyHo29-Jul-04 2:43 
GeneralRe: Multiple project solution Pin
HohohoMyHo29-Jul-04 4:03
HohohoMyHo29-Jul-04 4:03 
GeneralRe: Multiple project solution Pin
Antti Keskinen29-Jul-04 8:57
Antti Keskinen29-Jul-04 8:57 
Victor Paraschiv wrote:
If a friend of mein works on the same application like I do and in the end we want to bring all the program's parts together, what should we do

Use a program called Microsoft Visual SourceSafe or similar. This program, and others like it, upkeep a database of source files, and manages the locking/releasing of source files that are being edited by someone. For example, if you have a team of programmers working on the same project, then this is ultimately the best solution: when someone has checked in with a certain source file (checked in means that he/she is editing it), no other person can edit the source file simultaneously. If you need a free solution, the CVS Tree in SourceForge may be a valid approach. Haven't tested it myself, though.

As for the example you presented, did you know that the dialog app project of yours actually consists of a dialog class, the dialog template resource, and a small CWinApp-derived application class used to create and display the dialog ? If you wanted to use this dialog in another program, you would only need to move the dialog class and the resource file over. Naturally, before this moving can occur, you must make sure that the destination project has no duplicate IDs or class names. The easiest way is to take the dialog project as a reference, then create similar classes and dialog templates into the MDI app, create necessary handler functions, then copy/paste the actual code (contents of functions) from the old project to the new one. This ensures that although the IDs may change, the names that refer these IDs remain the same without a hassle.

-Antti Keskinen

----------------------------------------------
The definition of impossible is strictly dependant
on what we think is possible.
GeneralRe: Multiple project solution Pin
HohohoMyHo30-Jul-04 12:07
HohohoMyHo30-Jul-04 12:07 
GeneralPort Mapper Pin
abdul moeed29-Jul-04 0:56
abdul moeed29-Jul-04 0:56 
Generalwriting an application that runs only as administrator Pin
Anonymous29-Jul-04 0:39
Anonymous29-Jul-04 0:39 
GeneralRe: writing an application that runs only as administrator Pin
Roger Allen29-Jul-04 2:48
Roger Allen29-Jul-04 2:48 
GeneralRe: writing an application that runs only as administrator Pin
Anonymous29-Jul-04 17:33
Anonymous29-Jul-04 17:33 
GeneralGet item selection notification on a CListCtrl Pin
Gizmo7929-Jul-04 0:26
Gizmo7929-Jul-04 0:26 
GeneralRe: Get item selection notification on a CListCtrl Pin
David Crow29-Jul-04 3:16
David Crow29-Jul-04 3:16 
GeneralRe: Get item selection notification on a CListCtrl Pin
Gizmo7929-Jul-04 4:23
Gizmo7929-Jul-04 4:23 
GeneralHide some portion of Dialog Pin
Anonymous29-Jul-04 0:25
Anonymous29-Jul-04 0:25 
GeneralRe: Hide some portion of Dialog Pin
V.29-Jul-04 1:30
professionalV.29-Jul-04 1:30 
GeneralRe: Hide some portion of Dialog Pin
Anonymous29-Jul-04 1:45
Anonymous29-Jul-04 1:45 
GeneralRe: Hide some portion of Dialog Pin
V.29-Jul-04 2:02
professionalV.29-Jul-04 2:02 
GeneralSocket Multithreading Pin
asv29-Jul-04 0:11
asv29-Jul-04 0:11 
GeneralRe: Socket Multithreading Pin
SOCM_FP_CPP29-Jul-04 2:07
SOCM_FP_CPP29-Jul-04 2:07 
GeneralRe: Socket Multithreading Pin
asv29-Jul-04 2:31
asv29-Jul-04 2:31 
GeneralRe: Socket Multithreading Pin
asv29-Jul-04 2:41
asv29-Jul-04 2:41 
GeneralSMB Share and file access Pin
Jan7529-Jul-04 0:01
Jan7529-Jul-04 0:01 

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.