Click here to Skip to main content
15,886,199 members
Articles / Desktop Programming / MFC

System Drives Browsing Tree

Rate me:
Please Sign up or sign in to vote.
3.36/5 (11 votes)
3 Aug 2002 73.5K   1.1K   11  
System Drives Browsing Tree
// DriveBrowsingTreeDoc.cpp : implementation of the CDriveBrowsingTreeDoc class
//

#include "stdafx.h"
#include "DriveBrowsingTree.h"

#include "DriveBrowsingTreeDoc.h"

#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif

/////////////////////////////////////////////////////////////////////////////
// CDriveBrowsingTreeDoc

IMPLEMENT_DYNCREATE(CDriveBrowsingTreeDoc, CDocument)

BEGIN_MESSAGE_MAP(CDriveBrowsingTreeDoc, CDocument)
	//{{AFX_MSG_MAP(CDriveBrowsingTreeDoc)
		// NOTE - the ClassWizard will add and remove mapping macros here.
		//    DO NOT EDIT what you see in these blocks of generated code!
	//}}AFX_MSG_MAP
END_MESSAGE_MAP()

/////////////////////////////////////////////////////////////////////////////
// CDriveBrowsingTreeDoc construction/destruction

CDriveBrowsingTreeDoc::CDriveBrowsingTreeDoc()
{
	// TODO: add one-time construction code here

}

CDriveBrowsingTreeDoc::~CDriveBrowsingTreeDoc()
{
}

BOOL CDriveBrowsingTreeDoc::OnNewDocument()
{
	if (!CDocument::OnNewDocument())
		return FALSE;

	// TODO: add reinitialization code here
	// (SDI documents will reuse this document)

	return TRUE;
}



/////////////////////////////////////////////////////////////////////////////
// CDriveBrowsingTreeDoc serialization

void CDriveBrowsingTreeDoc::Serialize(CArchive& ar)
{
	if (ar.IsStoring())
	{
		// TODO: add storing code here
	}
	else
	{
		// TODO: add loading code here
	}
}

/////////////////////////////////////////////////////////////////////////////
// CDriveBrowsingTreeDoc diagnostics

#ifdef _DEBUG
void CDriveBrowsingTreeDoc::AssertValid() const
{
	CDocument::AssertValid();
}

void CDriveBrowsingTreeDoc::Dump(CDumpContext& dc) const
{
	CDocument::Dump(dc);
}
#endif //_DEBUG

/////////////////////////////////////////////////////////////////////////////
// CDriveBrowsingTreeDoc commands

By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.


Written By
India India
Nothing to boast about

Comments and Discussions