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

📄 lineset.h

📁 数据结构求最短路径vc++ 实现手动作图
💻 H
字号:
#if !defined(AFX_LINESET_H__484FD244_1A84_47D3_AC44_78539B479A6C__INCLUDED_)
#define AFX_LINESET_H__484FD244_1A84_47D3_AC44_78539B479A6C__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// LineSet.h : header file
//

/////////////////////////////////////////////////////////////////////////////
// CLineSet dialog

#define WM_CHANGE_LINE      (WM_USER +104)

class CLineSet : public CDialog
{
// Construction
public:
	CLineSet(CWnd* pParent = NULL);   // standard constructor
    
	CWnd *m_pParentWnd;   //父窗口指针

	//填充颜色,边框颜色,字体属性
    COLORREF m_textcolor;
    COLORREF m_linecolor;
	LOGFONT  m_text;   //字体式样字体大小
// Dialog Data
	//{{AFX_DATA(CLineSet)
	enum { IDD = IDD_LINE };
	CComboBox	m_linestyle;
	int		m_linewidth;
	CString	m_name;
	long	m_zhi;
	//}}AFX_DATA

public:
	void SetIndex(int i);
	int GetIndex();
   void Updatelinedata(COLORREF linecolor,COLORREF textcolor,LOGFONT  text,int linewidth,	long zhi,CString name,int index);

// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CLineSet)
	protected:
	virtual void DoDataExchange(CDataExchange* pDX);    // DDX/DDV support
	//}}AFX_VIRTUAL

// Implementation
protected:
 int	objectindex;
	// Generated message map functions
	//{{AFX_MSG(CLineSet)
	afx_msg void OnButton1font();
	afx_msg void OnButton2color();
	virtual void OnOK();
	virtual BOOL OnInitDialog();
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
};

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

#endif // !defined(AFX_LINESET_H__484FD244_1A84_47D3_AC44_78539B479A6C__INCLUDED_)

⌨️ 快捷键说明

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