|
//*******************************************************************************
// COPYRIGHT NOTES
// ---------------
// You may use, compile or redistribute this source as part of your application
// for free. You may not redistribute it as a part of a software development
// library without the agreement of the author. If the sources are
// distributed along with the application, you should leave the original
// copyright notes in the source code without any changes.
// This code can be used WITHOUT ANY WARRANTIES on your own risk.
//
// Nick Hodapp
// nhodapp@codeveloper.com
//
//*******************************************************************************
#if !defined(AFX_CLASSVIEW_H__A978E04B_2CED_409B_9C99_F60E609E826A__INCLUDED_)
#define AFX_CLASSVIEW_H__A978E04B_2CED_409B_9C99_F60E609E826A__INCLUDED_
#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
/////////////////////////////////////////////////////////////////////////////
// CClassView view
typedef std::multimap<CString, CString, std::less<CString> > M_String;
class CDlgClasses;
class CClassView : public CScrollView
{
protected:
DECLARE_DYNCREATE(CClassView)
//{{AFX_VIRTUAL(CClassView)
virtual void OnDraw(CDC* pDC); // overridden to draw this view
virtual void OnInitialUpdate(); // first time after construct
virtual void PostNcDestroy();
//}}AFX_VIRTUAL
//{{AFX_MSG(CClassView)
//}}AFX_MSG
DECLARE_MESSAGE_MAP()
#ifdef _DEBUG
virtual void AssertValid() const;
virtual void Dump(CDumpContext& dc) const;
#endif
friend class CDlgClasses;
private:
M_String* m_pmapClasses;
long m_alRowInsert[100];
void Render(CDC* pDC, CString strRoot, CRect& rclRoot, DWORD dwRow);
public:
CClassView();
virtual ~CClassView();
};
/////////////////////////////////////////////////////////////////////////////
//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.
#endif // !defined(AFX_CLASSVIEW_H__A978E04B_2CED_409B_9C99_F60E609E826A__INCLUDED_)
|
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.
This article has no explicit license attached to it but may contain usage terms in the article text or the download files themselves. If in doubt please contact the author via the discussion board below.
A list of licenses authors might use can be found here
This member has not yet provided a Biography. Assume it's interesting and varied, and probably something to do with programming.