// MainFrm.h : interface of the CPA_PartGen_MainFrame class
//
/////////////////////////////////////////////////////////////////////////////
#ifndef _TPG_MAINFRM_H_
#define _TPG_MAINFRM_H_

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

#include "ACP_Base.h"
#include "ITF.h"
#include "MEC.h"
#define D_State_Define
#include "IncGAM.h"
#undef D_State_Define
#include "GLI.h"

#define C_ROW_INDEX_CONTROL		0
#define C_ROW_INDEX_INFO		1
#define C_ROW_INDEX_MINI_STRUC	2
//-----------------IR-------------------------
#ifdef D_ED_IR_ACTIVE
#define C_ROW_INDEX_DES_VAR		3
#endif //D_ED_IR_ACTIVE
//--------------------------------------------

class CPA_PartGen_MainFrame : public CSplitFrame
{
public:
	CPA_PartGen_MainFrame();

protected: // create from serialization only
//	DECLARE_DYNCREATE(CFrameWnd)

// Attributes
public:
//	CPA_Editor_SplitterWnd m_clSplitter;

private:

// Operations
public:

// Overrides
	// ClassWizard generated virtual function overrides
	//{{AFX_VIRTUAL(CPA_PartGen_MainFrame)
//	public:
//	virtual BOOL PreCreateWindow(CREATESTRUCT& cs);
	protected:
	virtual BOOL OnCreateClient(LPCREATESTRUCT lpcs, CCreateContext* pContext);
	//}}AFX_VIRTUAL

//Attributes
public:

protected:  // control bar embedded members

// Generated message map functions
protected:
	//{{AFX_MSG(CPA_PartGen_MainFrame)
	afx_msg BOOL OnHelpInfo(HELPINFO* pHelpInfo);
	//}}AFX_MSG

	
	DECLARE_MESSAGE_MAP()


// Implementation
public:
	virtual ~CPA_PartGen_MainFrame();
#ifdef _DEBUG
	virtual void AssertValid() const;
	virtual void Dump(CDumpContext& dc) const;
#endif

};

/////////////////////////////////////////////////////////////////////////////
#endif //_TPG_MAINFRM_H_

