Click here to Skip to main content
15,891,513 members
Articles / Desktop Programming / MFC

UMLEditor - revisiting the vector editor

Rate me:
Please Sign up or sign in to vote.
4.99/5 (156 votes)
5 Jul 2006Public Domain8 min read 377.3K   37.1K   326  
An UML editor with code-generation capabilities derived from CDiagramEditor.
// AutoDocumenterDlg.h : header file
//

#if !defined(AFX_AUTODOCUMENTERDLG_H__8ED175C2_E692_43B5_9D9B_6E4D31CAD24A__INCLUDED_)
#define AFX_AUTODOCUMENTERDLG_H__8ED175C2_E692_43B5_9D9B_6E4D31CAD24A__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000

/////////////////////////////////////////////////////////////////////////////
// CAutoDocumenterDlg dialog

class CAutoDocumenterDlg : public CDialog
{
// Construction
public:
	CAutoDocumenterDlg(CWnd* pParent = NULL);	// standard constructor

// Dialog Data
	//{{AFX_DATA(CAutoDocumenterDlg)
	enum { IDD = IDD_AUTODOCUMENTER_DIALOG };
	CListBox	m_listMessages;
	CEdit	m_inputPathCtrl;
	CString	m_outputPath;
	CString	m_inputPath;
	//}}AFX_DATA

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

// Implementation
protected:
	HICON m_hIcon;

	// Generated message map functions
	//{{AFX_MSG(CAutoDocumenterDlg)
	virtual BOOL OnInitDialog();
	afx_msg void OnSysCommand(UINT nID, LPARAM lParam);
	afx_msg void OnPaint();
	afx_msg HCURSOR OnQueryDragIcon();
	virtual void OnOK();
	afx_msg void OnButtonOutputPath();
	afx_msg void OnButtonInputPath();
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()

private:
	CString BrowseForFolder() const;

};

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

#endif // !defined(AFX_AUTODOCUMENTERDLG_H__8ED175C2_E692_43B5_9D9B_6E4D31CAD24A__INCLUDED_)

By viewing downloads associated with this article you agree to the Terms of Service and the article's licence.

If a file you wish to view isn't highlighted, and is a text file (not binary), please let us know and we'll add colourisation support for it.

License

This article, along with any associated source code and files, is licensed under A Public Domain dedication


Written By
Software Developer (Senior) Abstrakt Mekanik AB
Sweden Sweden
45 years old, married, three kids.

Started with computers more than 20 years ago on a CBM-64.

Read Theoretical Philosophy at the University of Lund.

Working as a C++ consultant developer.

Science-fiction freak. Enjoy vintage punkrock.

Comments and Discussions