⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 cchdulinkview.h

📁 本题所涉及的有关操作是从控件中选择所要创建的链表的类型(用VC的Radio Button 实现选择)
💻 H
字号:
// CCHDUlinkView.h : interface of the CCCHDUlinkView class
//
/////////////////////////////////////////////////////////////////////////////

#if !defined(AFX_CCHDULINKVIEW_H__C3ACC713_0945_4DEA_BE76_9909AC4D6319__INCLUDED_)
#define AFX_CCHDULINKVIEW_H__C3ACC713_0945_4DEA_BE76_9909AC4D6319__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
class CCCHDUlinkView : public CFormView
{
protected: // create from serialization only
	CCCHDUlinkView();
	DECLARE_DYNCREATE(CCCHDUlinkView)

public:
	//{{AFX_DATA(CCCHDUlinkView)
	enum { IDD = IDD_CCHDULINK_FORM };
	CString	m_out;
	CString	m_nodevalue;
	int		m_tt;
	int		m_locate;
	int		m_locateData;
	//}}AFX_DATA

// Attributes
public:
	CCCHDUlinkDoc* GetDocument();

// Operations
public:

// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CCCHDUlinkView)
	public:
	virtual BOOL PreCreateWindow(CREATESTRUCT& cs);
	protected:
	virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
	virtual void OnInitialUpdate(); // called first time after construct
	virtual BOOL OnPreparePrinting(CPrintInfo* pInfo);
	virtual void OnBeginPrinting(CDC* pDC, CPrintInfo* pInfo);
	virtual void OnEndPrinting(CDC* pDC, CPrintInfo* pInfo);
	virtual void OnPrint(CDC* pDC, CPrintInfo* pInfo);
	//}}AFX_VIRTUAL

// Implementation
public:
	struct outPutPosition{
	int m_x;
	int m_y;
	}	Position;
	void DrawLink( CPaintDC &dc, int time );
	CString Headnode;
	CString m_NodeValue;
	void DrawNode( int node_time, CPaintDC &dc, int time );
	virtual ~CCCHDUlinkView();
#ifdef _DEBUG
	virtual void AssertValid() const;
	virtual void Dump(CDumpContext& dc) const;
#endif

protected:

// Generated message map functions
protected:
	//{{AFX_MSG(CCCHDUlinkView)
	afx_msg void OnPaint();
	afx_msg void OnHeadNode();
	afx_msg void OnNotHead();
	afx_msg void OnCreateDUlink();
	afx_msg void OnChangeEdit2();
	afx_msg void OnButton5();
	afx_msg void OnNextNode();
	afx_msg void OnPriorNode();
	afx_msg void OnButton4();
	afx_msg void OnButton6();
	afx_msg void OnClear();
	afx_msg void OnDeleteAtLocate();
	afx_msg void OnDeleteWithelement();
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
};

#ifndef _DEBUG  // debug version in CCHDUlinkView.cpp
inline CCCHDUlinkDoc* CCCHDUlinkView::GetDocument()
   { return (CCCHDUlinkDoc*)m_pDocument; }
#endif

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

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

#endif // !defined(AFX_CCHDULINKVIEW_H__C3ACC713_0945_4DEA_BE76_9909AC4D6319__INCLUDED_)

⌨️ 快捷键说明

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