ultimatepp/reference/DragAndDropFiles/main.cpp
cxl eacbbf295f reference: DropFiles as source
git-svn-id: svn://ultimatepp.org/upp/trunk@7426 f0d560ea-af0d-0410-9eb7-867de7ffcac7
2014-06-08 17:56:24 +00:00

19 lines
289 B
C++

#include <CtrlLib/CtrlLib.h>
using namespace Upp;
struct MyApp : TopWindow {
String path;
virtual void Paint(Draw& w) {
w.DrawRect(GetSize(), SColorPaper());
w.DrawText(10, 10, path);
}
virtual void DragAndDrop(Point p, PasteClip& d);
};
GUI_APP_MAIN
{
}