mywnd.h

来自「红黑树——一种数据结构的可视化画法」· C头文件 代码 · 共 63 行

H
63
字号
#if !defined(AFX_MYWND_H__50B8284A_C8CF_468C_8968_B2B93B94DE0E__INCLUDED_)
#define AFX_MYWND_H__50B8284A_C8CF_468C_8968_B2B93B94DE0E__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// MyWnd.h : header file
//
#include "stdafx.h"
#include "红黑树.h"

/////////////////////////////////////////////////////////////////////////////
// CMyWnd frame


class CMyWnd : public  CFrameWnd
{
	DECLARE_DYNCREATE(CMyWnd)
public:
	CMyWnd();           // protected constructor used by dynamic creation

// Attributes
public:

// Operations
public:
//	 
	void drawTree();

// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CMyWnd)
	//}}AFX_VIRTUAL

// Implementation
protected:
	virtual ~CMyWnd();
//	void drawNode( pNode pn,CPoint ppos,int wg);

	// Generated message map functions
	//{{AFX_MSG(CMyWnd)
	afx_msg void OnClose();
	afx_msg void OnCancelMode();
	afx_msg void OnPaint();
	afx_msg void OnCaptureChanged(CWnd *pWnd);
	afx_msg void OnAppExit();
	afx_msg void OnVScroll(UINT nSBCode, UINT nPos, CScrollBar* pScrollBar);
	afx_msg void OnChar(UINT nChar, UINT nRepCnt, UINT nFlags);
	afx_msg void OnContextMenu(CWnd* pWnd, CPoint point);
	afx_msg BOOL OnMouseWheel(UINT nFlags, short zDelta, CPoint pt);
	afx_msg BOOL OnCopyData(CWnd* pWnd, COPYDATASTRUCT* pCopyDataStruct);
	afx_msg void OnLButtonDblClk(UINT nFlags, CPoint point);
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
};

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

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

#endif // !defined(AFX_MYWND_H__50B8284A_C8CF_468C_8968_B2B93B94DE0E__INCLUDED_)

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?