// SectorViewerBar.cpp: implementation of the CSectorViewerBar class. // ////////////////////////////////////////////////////////////////////// #include "stdafx.h" #include "worldcreator.h" #include "SectorViewerBar.h" #ifdef _DEBUG #undef THIS_FILE static char THIS_FILE[]=__FILE__; #define new DEBUG_NEW #endif ////////////////////////////////////////////////////////////////////// // Construction/Destruction ////////////////////////////////////////////////////////////////////// CSectorViewerBar::CSectorViewerBar() { } CSectorViewerBar::~CSectorViewerBar() { /* m_SectorViewerSheet->DestroyWindow(); delete m_SectorViewerSheet; */ } void CSectorViewerBar::OnInitDialogBar() { m_SectorViewerSheet=new CSectorViewerSheet("Rainbow"); m_SectorViewerSheet->Create(this,WS_CHILD|WS_VISIBLE,0); m_SectorViewerSheet->ModifyStyleEx(0,WS_EX_CONTROLPARENT); m_SectorViewerSheet->ModifyStyle(0,WS_TABSTOP); m_SectorViewerSheet->MoveWindow(0,0,600,230); }