www.pudn.com > c02 vc6.rar > ChildFrm.h


// ChildFrm.h : interface of the CChildFrame class 
// 
///////////////////////////////////////////////////////////////////////////// 
 
#if !defined(AFX_CHILDFRM_H__BBB6444A_ACDD_11D2_AB9F_608556C10000__INCLUDED_) 
#define AFX_CHILDFRM_H__BBB6444A_ACDD_11D2_AB9F_608556C10000__INCLUDED_ 
 
#if _MSC_VER > 1000 
#pragma once 
#endif // _MSC_VER > 1000 
#include "C02IDEView.h" 
 
#include "TitleTip.h" 
#include "MyTipWnd.h" 
#include "StyledWnd.h" 
#include "PopupWnd.h" 
#include "TipDlg.h" 
#include "TipListCtrl.h" 
#include "TipStruct.h" 
class CChildFrame : public CCJMDIChildWnd 
{ 
	DECLARE_DYNCREATE(CChildFrame) 
public: 
	CChildFrame(); 
 
// Attributes 
public: 
//	CToolTipXye m_tip; 
	void EnableToolTip(); 
//	CPopupWnd  m_tip; 
	CStyledWnd * m_pStyledWnd; 
	CTipDlg   m_tip; 
	CTipStruct m_tip_struct; 
	 
 //   CTitleTip m_TitleTip; 
// Operations 
public: 
     CMultiDocTemplate*	m_pDocTemplate; 
// Overrides 
	// ClassWizard generated virtual function overrides 
	//{{AFX_VIRTUAL(CChildFrame) 
	public: 
	virtual BOOL PreCreateWindow(CREATESTRUCT& cs); 
	virtual BOOL Create(LPCTSTR lpszClassName, LPCTSTR lpszWindowName, DWORD dwStyle, const RECT& rect, CWnd* pParentWnd, UINT nID, CCreateContext* pContext = NULL); 
	virtual BOOL OnCmdMsg(UINT nID, int nCode, void* pExtra, AFX_CMDHANDLERINFO* pHandlerInfo); 
	virtual BOOL PreTranslateMessage(MSG* pMsg); 
	protected: 
	virtual BOOL OnNotify(WPARAM wParam, LPARAM lParam, LRESULT* pResult); 
	//}}AFX_VIRTUAL 
 
// Implementation 
public: 
	virtual ~CChildFrame(); 
#ifdef _DEBUG 
	virtual void AssertValid() const; 
	virtual void Dump(CDumpContext& dc) const; 
 
#endif 
	 int OnShowTip(UINT nFlags, CPoint point); 
	 int SetTipText(CString str_tip); 
 
// Generated message map functions 
protected: 
	//{{AFX_MSG(CChildFrame) 
	afx_msg void OnWrapmode(); 
	afx_msg void OnUpdateWrapmode(CCmdUI* pCmdUI); 
	afx_msg void OnFileSaveAs(); 
	afx_msg void OnClose(); 
	afx_msg int OnCreate(LPCREATESTRUCT lpCreateStruct); 
	afx_msg void OnMouseMove(UINT nFlags, CPoint point); 
	//}}AFX_MSG 
	DECLARE_MESSAGE_MAP() 
 
private: 
	BOOL m_bAutoReturn; 
}; 
 
///////////////////////////////////////////////////////////////////////////// 
 
//{{AFX_INSERT_LOCATION}} 
// Microsoft Visual C++ will insert additional declarations immediately before the previous line. 
 
#endif // !defined(AFX_CHILDFRM_H__BBB6444A_ACDD_11D2_AB9F_608556C10000__INCLUDED_)