Re: [fltk.general] How to make fltk support dropping files?

2012-08-31 Thread Herman
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

Re: [fltk.general] How to make fltk support dropping files?

2012-08-31 Thread Greg Ercolano
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

[fltk.general] How to make fltk support dropping files?

2012-08-31 Thread guyingpinming
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