Click here to Skip to main content
15,888,579 members
Articles / Desktop Programming / MFC

The Ultimate Toolbox FAQ

Rate me:
Please Sign up or sign in to vote.
4.38/5 (4 votes)
5 Oct 2007CPOL7 min read 48K   587   17  
A selection of frequently asked questions submitted by users of the Ultimate Toolbox
// ToolTipInViewView.h : interface of the CToolTipInViewView class
//
/////////////////////////////////////////////////////////////////////////////

#if !defined(AFX_TOOLTIPINVIEWVIEW_H__7A77681F_F50F_11D3_ACC7_0050BAAB46B1__INCLUDED_)
#define AFX_TOOLTIPINVIEWVIEW_H__7A77681F_F50F_11D3_ACC7_0050BAAB46B1__INCLUDED_

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


class CToolTipInViewView : public CEditView
{
protected: // create from serialization only
	CToolTipInViewView();
	DECLARE_DYNCREATE(CToolTipInViewView)

// Attributes
public:
	CToolTipInViewDoc* GetDocument();

// Operations
public:

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

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

protected:

// Generated message map functions
protected:
	//{{AFX_MSG(CToolTipInViewView)
	afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct);
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
};

#ifndef _DEBUG  // debug version in ToolTipInViewView.cpp
inline CToolTipInViewDoc* CToolTipInViewView::GetDocument()
   { return (CToolTipInViewDoc*)m_pDocument; }
#endif

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

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

#endif // !defined(AFX_TOOLTIPINVIEWVIEW_H__7A77681F_F50F_11D3_ACC7_0050BAAB46B1__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, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)


Written By
Web Developer
Canada Canada
In January 2005, David Cunningham and Chris Maunder created TheUltimateToolbox.com, a new group dedicated to the continued development, support and growth of Dundas Software’s award winning line of MFC, C++ and ActiveX control products.

Ultimate Grid for MFC, Ultimate Toolbox for MFC, and Ultimate TCP/IP have been stalwarts of C++/MFC development for a decade. Thousands of developers have used these products to speed their time to market, improve the quality of their finished products, and enhance the reliability and flexibility of their software.
This is a Organisation

476 members

Comments and Discussions