reman3/Rayman_X/cpa/tempgrp/TGM/Src/dialist.cpp

77 lines
1.7 KiB
C++

// dialist.cpp : implementation file
//
#include "stdafx.h"
#include "matres.h"
#include "DiaList.hpp"
#include "MatList.hpp"
#include "x:\cpa\main\inc\_editid.h"
#include "TUT.h"
#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif
/////////////////////////////////////////////////////////////////////////////
// DiaList
IMPLEMENT_DYNCREATE(DiaList, CFormView)
DiaList::DiaList()
: CFormView(DiaList::IDD)
{
CRect rect(0,0,0,0);
CFormView::Create(NULL, "", WS_VISIBLE|WS_CHILD/*AFX_WS_DEFAULT_VIEW*/, rect, this, AFX_IDW_PANE_FIRST, NULL);
m_p_oMaterialListView = new CMaterialListView();
// first overture of dialog, view isn't created
m_p_oMaterialListView->Create(NULL, NULL, WS_CHILD, rect, this, 0);
//control registration for tutorial and assistants, should be unregistered when view is destroyed
TUT_M_vGetTutDll();
TUT_M_vRegisterControl(m_p_oMaterialListView->m_hWnd,"TGM_DiaListMaterialListView",TUT_e_Window);
//m_p_oMaterialListView->m_fn_vChangeDisplayType(C_cDisplayBitmapAndText);
//{{AFX_DATA_INIT(DiaList)
// NOTE: the ClassWizard will add member initialization here
//}}AFX_DATA_INIT
}
DiaList::~DiaList()
{
}
void DiaList::DoDataExchange(CDataExchange* pDX)
{
CFormView::DoDataExchange(pDX);
//{{AFX_DATA_MAP(DiaList)
// NOTE: the ClassWizard will add DDX and DDV calls here
//}}AFX_DATA_MAP
}
BEGIN_MESSAGE_MAP(DiaList, CFormView)
//{{AFX_MSG_MAP(DiaList)
//}}AFX_MSG_MAP
END_MESSAGE_MAP()
/////////////////////////////////////////////////////////////////////////////
// DiaList diagnostics
#ifdef _DEBUG
void DiaList::AssertValid() const
{
CFormView::AssertValid();
}
void DiaList::Dump(CDumpContext& dc) const
{
CFormView::Dump(dc);
}
#endif //_DEBUG