Click here to Skip to main content
16,007,277 members
Home / Discussions / C / C++ / MFC
   

C / C++ / MFC

 
GeneralRe: Anyone know a good article about.... Pin
Le centriste10-Dec-02 14:37
Le centriste10-Dec-02 14:37 
GeneralWindows dialog in other languages .... Pin
PhD9-Dec-02 6:57
PhD9-Dec-02 6:57 
GeneralRe: Windows dialog in other languages .... Pin
Chris Richardson9-Dec-02 6:59
Chris Richardson9-Dec-02 6:59 
GeneralRe: Windows dialog in other languages .... Pin
PhD9-Dec-02 7:09
PhD9-Dec-02 7:09 
GeneralRe: Windows dialog in other languages .... Pin
Maximilien9-Dec-02 7:38
Maximilien9-Dec-02 7:38 
GeneralProject / Workspace Pin
Ryan B.9-Dec-02 6:02
Ryan B.9-Dec-02 6:02 
GeneralRe: Project / Workspace Pin
Ravi Bhavnani9-Dec-02 6:35
professionalRavi Bhavnani9-Dec-02 6:35 
GeneralRe: Project / Workspace Pin
Roman Fadeyev9-Dec-02 6:51
Roman Fadeyev9-Dec-02 6:51 
What's the problem? Create CProjectDoc class derived from CDocument, create CProjectDocTemplate from CDocTemplate. The document tree is your project view. Then you are creating some interface for you class, something likes as

void AddToProject(LPCTSTR szFileName)
void RemoveFromProject(LPCTSTR szFile) and etc.


The project is a simplest type of document I have ever seen.

Then, workspace's scheme: If you want use same tree for all open projects, you must refuse to use view in CProjectDoc. Point to MFC that you document has no any views

void CProjectDocTemplate::InitialUpdateFrame(CFrameWnd* pFrame, CDocument* pDoc,BOOL bMakeVisible)
{
//	__super :: InitialUpdateFrame(pFrame, pDoc, bMakeVisible);
	pFrame->DestroyWindow();
}


and create separate window (of course, docked Smile | :) to a hair's breadth as microsoft - chief of fashion) and scan all projects and show their contents as you wish.

I had once similar project and i don't mind to share it with you, but it is simpler to make it on its own than to ransack some thousands lines of foreign code
GeneralRe: Project / Workspace Pin
Ryan B.9-Dec-02 10:06
Ryan B.9-Dec-02 10:06 
QuestionHow to compress files in a ZIP file ?? Pin
Cris9-Dec-02 5:43
Cris9-Dec-02 5:43 
AnswerRe: How to compress files in a ZIP file ?? Pin
Roman Fadeyev9-Dec-02 5:57
Roman Fadeyev9-Dec-02 5:57 
AnswerRe: How to compress files in a ZIP file ?? Pin
carrie9-Dec-02 8:56
carrie9-Dec-02 8:56 
GeneralMSLU Pin
Irona9-Dec-02 5:34
Irona9-Dec-02 5:34 
GeneralUNICODE conversion Pin
Member 3600829-Dec-02 5:25
Member 3600829-Dec-02 5:25 
GeneralRe: UNICODE conversion Pin
Le centriste9-Dec-02 7:37
Le centriste9-Dec-02 7:37 
GeneralSDI Pin
will13839-Dec-02 5:03
will13839-Dec-02 5:03 
GeneralRe: SDI Pin
#realJSOP9-Dec-02 5:19
professional#realJSOP9-Dec-02 5:19 
GeneralRe: SDI Pin
will13839-Dec-02 5:37
will13839-Dec-02 5:37 
GeneralFull Screen Dialog Bug Pin
Scott H. Settlemier9-Dec-02 4:39
Scott H. Settlemier9-Dec-02 4:39 
GeneralRe: Full Screen Dialog Bug Pin
#realJSOP9-Dec-02 5:14
professional#realJSOP9-Dec-02 5:14 
GeneralRe: Full Screen Dialog Bug Pin
Scott H. Settlemier9-Dec-02 5:24
Scott H. Settlemier9-Dec-02 5:24 
GeneralRe: Full Screen Dialog Bug Pin
mediamaster409-Dec-02 6:15
mediamaster409-Dec-02 6:15 
GeneralRe: Full Screen Dialog Bug Pin
Joan M9-Dec-02 20:23
professionalJoan M9-Dec-02 20:23 
GeneralRe: Full Screen Dialog Bug Pin
Scott H. Settlemier10-Dec-02 4:01
Scott H. Settlemier10-Dec-02 4:01 
GeneralRe: Full Screen Dialog Bug Pin
mediamaster4010-Dec-02 4:23
mediamaster4010-Dec-02 4:23 

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.