Click here to Skip to main content
15,880,392 members
Articles / Mobile Apps

The StateWizard VC++ Add-in and Engine with Source Code

Rate me:
Please Sign up or sign in to vote.
4.73/5 (24 votes)
26 Mar 2009CPOL12 min read 190K   2.8K   132  
A cross-platform state-oriented application framework and a ClassWizard-like round-trip UML dynamic modeling/development tool that runs in popular IDEs. Aims at providing concurrent, distributed, and real-time application development tools for Win32/Linux
#if !defined(AFX_CODELINEDLG_H__58DE3E51_5489_4BBE_A259_BA1F65D23813__INCLUDED_)
#define AFX_CODELINEDLG_H__58DE3E51_5489_4BBE_A259_BA1F65D23813__INCLUDED_

#if _MSC_VER > 1000
#pragma once
#endif // _MSC_VER > 1000
// CodelineDlg.h : header file
#include "resource.h"

#include "DSUtils.h"
#include "afxcmn.h"

#define CODE_LINE_REP_FROMAPPNAME _T("%-30s%-8d%-8d%-8d%-8d%-8d%-5.2f\n")

/////////////////////////////////////////////////////////////////////////////
// CCodelineDlg dialog

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

	// Dialog Data
	//{{AFX_DATA(CCodelineDlg)
	enum { IDD = IDD_CODELINE_DLG };
	//}}AFX_DATA


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

// Implementation
protected:

	// Generated message map functions
	//{{AFX_MSG(CCodelineDlg)
	virtual BOOL OnInitDialog();
	afx_msg void OnOsave();
	virtual void OnCancel();
	afx_msg void OnClose();
	afx_msg void OnDestroy();
	afx_msg BOOL OnHelpInfo(HELPINFO* pHelpInfo);
	//}}AFX_MSG
	DECLARE_MESSAGE_MAP()
private:
	CString m_sFilePath;
	void InsertItem();
public:
	CListCtrl m_CtrlCodelineList;
};

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

#endif // !defined(AFX_CODELINEDLG_H__58DE3E51_5489_4BBE_A259_BA1F65D23813__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 The Code Project Open License (CPOL)


Written By
Software Developer (Senior)
United States United States
Alex "Question is more important than the answer."

Comments and Discussions