Quellcodebibliothek Statistik Leitseite products/Sources/formale Sprachen/C/Filezilla/src/interface/     Datei vom 7.0.2015 mit Größe 843 B image not shown  

Quelle  drop_target_ex.h   Sprache: C

 

#ifndef FILEZILLA_DROP_TARGET_EX_HEADER
#define FILEZILLA_DROP_TARGET_EX_HEADER

#include <wx/dnd.h>

template<class Control>
class CScrollableDropTarget : public wxEvtHandler, public wxDropTarget
{
public:
 CScrollableDropTarget(Control* pCtrl);

 virtual bool OnDrop(wxCoord x, wxCoord y);

 virtual wxDragResult OnDragOver(wxCoord x, wxCoord y, wxDragResult def);

 virtual void OnLeave();

 virtual wxDragResult OnEnter(wxCoord x, wxCoord y, wxDragResult def);

 virtual typename Control::Item DisplayDropHighlight(wxPoint) = 0;

protected:
 wxDragResult FixupDragResult(wxDragResult res);

 bool IsScroll(wxPoint p) const;
 bool IsTopScroll(wxPoint p) const;
 bool IsBottomScroll(wxPoint p) const;

 void OnTimer(wxTimerEvent& /*event*/);

protected:
 Control *m_pCtrl;

 wxTimer m_timer;
 int m_count;

 DECLARE_EVENT_TABLE()
};

#endif

Messung
CHZG
859810094

¤ Dauer der Verarbeitung: 0.2 Sekunden  ¤

*© Formatika GbR, Deutschland