#if !defined(AFX_QUERYSTARTPOINTDIALOG_H__EFEDB58F_5CA3_4D5E_A830_09D8B42BD07D__INCLUDED_)
#define AFX_QUERYSTARTPOINTDIALOG_H__EFEDB58F_5CA3_4D5E_A830_09D8B42BD07D__INCLUDED_

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

#include "resource.h"
#include "aplNetStepData.h"
#include "aplStepManager.h"
#include "apl_gui.h"
#include "common.h"

#include "ResizableDialog.h"
class CaplWorkFlowManager;

/////////////////////////////////////////////////////////////////////////////
// CQueryStartPointDialog dialog

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

// Dialog Data
	//{{AFX_DATA(CQueryStartPointDialog)
	enum { IDD = IDD_START_PROCESS_DIALOG };
	CaplButton	m_cancelBtn;
	CaplButton	m_okBtn;
	CComboBox	m_spCB;
	CString	m_sDscr;
	int		m_iSP;
	//}}AFX_DATA
	
	CImageList m_imageList;
	CaplNetStepData* m_data;
	
	CaplWorkFlowManager* m_wf_mgr;
	
	CaplInstance* m_process;
	aplExtent* m_st_points;
	CaplInstance* m_start_point;


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

// Implementation
protected:

	// Generated message map functions
	//{{AFX_MSG(CQueryStartPointDialog)
	virtual void OnOK();
	afx_msg void OnSelchangeStartPointCombo();
	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_QUERYSTARTPOINTDIALOG_H__EFEDB58F_5CA3_4D5E_A830_09D8B42BD07D__INCLUDED_)
