www.pudn.com > ShortCutEx.rar > DropTargetToolBar.h, change:2004-07-30,size:858b


// DropTargetToolBar.h: interface for the CDropTargetToolBar class. 
// 
////////////////////////////////////////////////////////////////////// 
 
#if !defined(AFX_DROPTARGETTOOLBAR_H__3569D4B9_A85E_4624_A5DB_31EECB2B512A__INCLUDED_) 
#define AFX_DROPTARGETTOOLBAR_H__3569D4B9_A85E_4624_A5DB_31EECB2B512A__INCLUDED_ 
 
#if _MSC_VER > 1000 
#pragma once 
#endif // _MSC_VER > 1000 
 
#include "DropTarget.h" 
 
class CCSCToolBar; 
 
class CDropTargetToolBar : public CDropTarget   
{ 
public: 
	CDropTargetToolBar(HWND hWnd); 
	virtual ~CDropTargetToolBar(); 
 
	virtual bool OnDrop(FORMATETC* pFmtEtc, STGMEDIUM& medium, DWORD *pdwEffect) ; 
	void SetToolBar(CCSCToolBar* pToolBar)	{ 
		m_pToolBar = pToolBar; 
	} 
 
protected: 
	CCSCToolBar* m_pToolBar; 
 
}; 
 
#endif // !defined(AFX_DROPTARGETTOOLBAR_H__3569D4B9_A85E_4624_A5DB_31EECB2B512A__INCLUDED_)