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

📄 diagramdlg.h

📁 TabBars的开源源码
💻 H
字号:
#if !defined(AFX_DIAGRAMDLG_H__604482F7_E123_4DC1_B980_0F0B6D947012__INCLUDED_)
#define AFX_DIAGRAMDLG_H__604482F7_E123_4DC1_B980_0F0B6D947012__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// DiagramDlg.h : header file
//
#include "CodePlotter\textdiagramctrl.h"
#include "CodePlotter\maskedit.h"

/////////////////////////////////////////////////////////////////////////////
// CDiagramDlg dialog

class CDiagramDlg : public CDialog
{
// Construction
public:
	CDiagramDlg(LPCTSTR szDiagram = NULL,CWnd* pParent = NULL);   // standard constructor

	BOOL GetDiagram(CString& sDiagram);

	CTextDiagramCtrl m_ctrlDiagram;
	CTextDiagram m_diagramBackup;

// Dialog Data
	//{{AFX_DATA(CDiagramDlg)
	enum { IDD = IDD_DIAGRAM_DLG };
		// NOTE: the ClassWizard will add data members here
	//}}AFX_DATA


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

// Implementation
protected:
	CString m_strDiagram;
	// Generated message map functions
	//{{AFX_MSG(CDiagramDlg)
	virtual BOOL OnInitDialog();
	afx_msg void OnBtnNewBox();
	afx_msg void OnBtnEditText();
	afx_msg void OnBtnDeleteBox();
	afx_msg void OnBtnNewConnect();
	afx_msg void OnBtnClear();
	virtual void OnOK();
	//}}AFX_MSG
	afx_msg void OnDiagramSelChange(TDNHDR* pTDHdr, LRESULT* pResult = 0);
	afx_msg void OnDiagramRectMove(TDNHDR* pTDHdr, LRESULT* pResult = 0);
	afx_msg void OnDiagramInternalError(TDNHDR* pTDHdr, LRESULT* pResult = 0);
	afx_msg void OnDiagramDblClk(TDNHDR* pTDHdr, LRESULT* pResult = 0);
	afx_msg void OnDiagramImplNewConn(TDNHDR* pTDHdr, LRESULT* pResult = 0);
	DECLARE_MESSAGE_MAP()

	BOOL EnableOK(); // returns whether the OK button is enabled or not
	void SetDiagram(LPCTSTR szDiagram);
	void EditConnection(int nConn);
	void UpdateControls();
};

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

#endif // !defined(AFX_DIAGRAMDLG_H__604482F7_E123_4DC1_B980_0F0B6D947012__INCLUDED_)

⌨️ 快捷键说明

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