khanat-opennel-code/code/nel/tools/3d/tile_edit/TileView.cpp
2013-10-23 12:08:09 -05:00

86 lines
2.3 KiB
C++

// Ryzom - MMORPG Framework <http://dev.ryzom.com/projects/ryzom/>
// Copyright (C) 2010 Winch Gate Property Limited
//
// This program is free software: you can redistribute it and/or modify
// it under the terms of the GNU Affero General Public License as
// published by the Free Software Foundation, either version 3 of the
// License, or (at your option) any later version.
//
// This program is distributed in the hope that it will be useful,
// but WITHOUT ANY WARRANTY; without even the implied warranty of
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
// GNU Affero General Public License for more details.
//
// You should have received a copy of the GNU Affero General Public License
// along with this program. If not, see <http://www.gnu.org/licenses/>.
#include "stdafx.h"
#include "tile_edit_exe.h"
#include "TileView.h"
#ifdef _DEBUG
#define new DEBUG_NEW
#undef THIS_FILE
static char THIS_FILE[] = __FILE__;
#endif
/////////////////////////////////////////////////////////////////////////////
// TileView
TileView::TileView()
{
}
TileView::~TileView()
{
}
BEGIN_MESSAGE_MAP(TileView, CListCtrl)
//{{AFX_MSG_MAP(TileView)
ON_WM_DROPFILES()
ON_WM_KEYDOWN()
ON_WM_MOUSEACTIVATE()
//}}AFX_MSG_MAP
END_MESSAGE_MAP()
/////////////////////////////////////////////////////////////////////////////
// TileView message handlers
void TileView::OnDropFiles(HDROP hDropInfo)
{
// TODO: Add your message handler code here and/or call default
// *parent=this->GetParent();
// if (parent) parent->
CListCtrl::OnDropFiles(hDropInfo);
}
void TileView::OnKeyDown(UINT nChar, UINT nRepCnt, UINT nFlags)
{
// TODO: Add your message handler code here and/or call default
CListCtrl::OnKeyDown(nChar, nRepCnt, nFlags);
}
int TileView::OnMouseActivate(CWnd* pDesktopWnd, UINT nHitTest, UINT message)
{
// TODO: Add your message handler code here and/or call default
return CListCtrl::OnMouseActivate(pDesktopWnd, nHitTest, message);
}
BOOL TileView::OnCommand(WPARAM wParam, LPARAM lParam)
{
// TODO: Add your specialized code here and/or call the base class
return CListCtrl::OnCommand(wParam, lParam);
}
LRESULT TileView::WindowProc(UINT message, WPARAM wParam, LPARAM lParam)
{
// TODO: Add your specialized code here and/or call the base class
return CListCtrl::WindowProc(message, wParam, lParam);
}