FLTK DnD support works quite reliably in FLTK. You have to derive your
own widget and respond to FL_DND_ENTER, FL_DND_LEAVE and FL_DND_RELEASE
as well as FL_PASTE:
to be more concrete:
class mywidget: public Fl_Box
{
public:
mywidget(int X, int Y, int W, int H, const char*
L=""):Fl_Box
On 08/31/12 18:18, guyingpinming wrote:
>I'm working with a project using fltk to construct a gui,but now I want
> the exe to support the operation of dropping files,that is,if I drop a file
> to the menuWindow,the software can automatically open the file with the right
> format(the file its
I'm working with a project using fltk to construct a gui,but now I want the
exe to support the operation of dropping files,that is,if I drop a file to the
menuWindow,the software can automatically open the file with the right
format(the file itself is support by the software).
How can I ma
3 matches
Mail list logo