Click here to Skip to main content
12,446,418 members (56,337 online)
Click here to Skip to main content

Stats

49.2K views
693 downloads
11 bookmarked
Posted

Extended Debug macros

, 13 Jun 2001
A set of debug macros for checking expressions that work in
// WaveTestView.h : interface of the CWaveTestView class
//
/////////////////////////////////////////////////////////////////////////////

#if !defined(AFX_WAVETESTVIEW_H__F8F35CCD_1870_11D5_A4D6_5254AB31A899__INCLUDED_)
#define AFX_WAVETESTVIEW_H__F8F35CCD_1870_11D5_A4D6_5254AB31A899__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000


class CWaveTestView : public CView
{
protected: // create from serialization only
	CWaveTestView();
	DECLARE_DYNCREATE(CWaveTestView)

private:
	void VoidFunction();
	BOOL BoolFunction();




// Attributes
public:
	CWaveTestDoc* GetDocument();

// Operations
public:

// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CWaveTestView)
	public:
	virtual void OnDraw(CDC* pDC);  // overridden to draw this view
	virtual BOOL PreCreateWindow(CREATESTRUCT& cs);
	protected:
	//}}AFX_VIRTUAL

// Implementation
public:
	virtual ~CWaveTestView();
#ifdef _DEBUG
	virtual void AssertValid() const;
	virtual void Dump(CDumpContext& dc) const;
#endif

protected:

// Generated message map functions
protected:
	//{{AFX_MSG(CWaveTestView)
	afx_msg void OnLButtonDown(UINT nFlags, CPoint point);
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
};

#ifndef _DEBUG  // debug version in WaveTestView.cpp
inline CWaveTestDoc* CWaveTestView::GetDocument()
   { return (CWaveTestDoc*)m_pDocument; }
#endif

/////////////////////////////////////////////////////////////////////////////

//{{AFX_INSERT_LOCATION}}
// Microsoft Visual C++ will insert additional declarations immediately before the previous line.

#endif // !defined(AFX_WAVETESTVIEW_H__F8F35CCD_1870_11D5_A4D6_5254AB31A899__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

Jungsul Lee
United States United States
No Biography provided

You may also be interested in...

Pro
Pro
| Advertise | Privacy | Terms of Use | Mobile
Web02 | 2.8.160811.3 | Last Updated 14 Jun 2001
Article Copyright 2001 by Jungsul Lee
Everything else Copyright © CodeProject, 1999-2016
Layout: fixed | fluid