Click here to Skip to main content
11,478,066 members (75,156 online)
Click here to Skip to main content
Add your own
alternative version

Undocumented Visual C++

, 17 Sep 2000 461.9K 3.2K 275
Spelunking in the Badlands of MSDEV
//*******************************************************************************
// 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.

License

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

Share

About the Author

Nick Hodapp
Web Developer
United States United States
No Biography provided

| Advertise | Privacy | Terms of Use | Mobile
Web04 | 2.8.150520.1 | Last Updated 18 Sep 2000
Article Copyright 2000 by Nick Hodapp
Everything else Copyright © CodeProject, 1999-2015
Layout: fixed | fluid