From: Mattia B. <mb...@ds...> - 2003-05-11 17:34:36
|
On Sun, 11 May 2003 02:42:42 -0700 (PDT) DH <cra...@ya...> wrote: > I've been looking into Drag'n'Drop on wxWindows. > > Say I have a browser open (mozilla, ie, whatever), > and I click on a link, and drag it to my wxwindows application ... > > Now, is it possible to have a drop target which would accept the link? Use the (undocumented) Wx::URLDataObject; documentation: ->new() ->GetURL() (returning a string) ->SetUrl( string ) I only tested it a long time ago, but it should be as easy as Wx::Text/BitmapDataObject. HTH Mattia |