Click here to Skip to main content
15,893,588 members
Articles / Desktop Programming / MFC

Tool tip on window

Rate me:
Please Sign up or sign in to vote.
4.60/5 (11 votes)
16 Oct 20011 min read 104.1K   3.4K   34  
Tooltips for window according to specified rectangular areas of that window
// ToolTipDoc.h : interface of the CToolTipDoc class
//
/////////////////////////////////////////////////////////////////////////////

#if !defined(AFX_TOOLTIPDOC_H__4D0B3BAD_92E2_46B0_A387_836295338A2B__INCLUDED_)
#define AFX_TOOLTIPDOC_H__4D0B3BAD_92E2_46B0_A387_836295338A2B__INCLUDED_

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


class CToolTipDoc : public CDocument
{
protected: // create from serialization only
	CToolTipDoc();
	DECLARE_DYNCREATE(CToolTipDoc)

// Attributes
public:

// Operations
public:

// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CToolTipDoc)
	public:
	virtual BOOL OnNewDocument();
	virtual void Serialize(CArchive& ar);
	//}}AFX_VIRTUAL

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

protected:

// Generated message map functions
protected:
	//{{AFX_MSG(CToolTipDoc)
		// NOTE - the ClassWizard will add and remove member functions here.
		//    DO NOT EDIT what you see in these blocks of generated code !
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
};

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

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

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


Written By
Web Developer
India India
I am a Software Professional and Currently working in C-DAC (Centre For Development of Advanced Computing). This is a Scientific Socity under ministry of india of Information Technology.
I have completed My B.C.A. Degree with 77% marks, I am certified by microsofr as Microsoft Certified Professional in Visual Basic 6.0(70-176). Currently working on Visual C++ 6.0 and Using MFC support in my Applicaitons.
For Future Studying 3D graphics desinging like OpenGL and DirectX.

Comments and Discussions