// EffectBar.cpp: implementation of the CEffectBar class. // ////////////////////////////////////////////////////////////////////// #include "stdafx.h" #include "EffectEditor.h" #include "EffectBar.h" #ifdef _DEBUG #undef THIS_FILE static char THIS_FILE[]=__FILE__; #define new DEBUG_NEW #endif ////////////////////////////////////////////////////////////////////// // Construction/Destruction ////////////////////////////////////////////////////////////////////// CEffectBar::CEffectBar() { } CEffectBar::~CEffectBar() { } void CEffectBar::Destory() { m_lpEffectSheet->DestroyWindow(); delete m_lpEffectSheet; } void CEffectBar::OnInitDialogBar() { m_lpEffectSheet=new CEffectSheet("Belldandy"); m_lpEffectSheet->Create(this, WS_CHILD | WS_VISIBLE, 0); m_lpEffectSheet->ModifyStyleEx(0, WS_EX_CONTROLPARENT); m_lpEffectSheet->ModifyStyle(0, WS_TABSTOP); m_lpEffectSheet->MoveWindow(0, 0, 1000, 1000); }