[prev in list] [next in list] [prev in thread] [next in thread]
List: gtk-app-devel
Subject: Re: drag'n'drop with gtk-win32
From: Tor Lillqvist <tml () iki ! fi>
Date: 2010-04-30 12:56:57
Message-ID: p2hc9b6d9a51004300556o475fd38fj4ee80afea78eb99b () mail ! gmail ! com
[Download RAW message or body]
> Can you clarify that for me, Tor? How is Windows Explorer different from any other external application?
Well, Explorer is obviously a part of Windows, it is not a 3rd-party
application. So it has better access to the internal plumbings of
Windows than normal apps.
But more importantly, the API used to accept files dragged from
Explorer (DragAcceptFiles(), WM_DROPFILES, DragQueryFile(),
DragFinish()) is, as can be seen from the names, specific to files.
(That API is quite old, since NT 3.1 / Windows 95 days.) More generic
drag-and-drop is based on OLE technology, and requires more complex
code in the toolkit / application.
(There is code for the generic drag-and-drop in GTK+, too (see
gdk/win32/gdkdnd-win32.c in recent GTK+), but it is known to be
unfinished and broken, so it isn't used currently.)
--tml
_______________________________________________
gtk-app-devel-list mailing list
gtk-app-devel-list@gnome.org
http://mail.gnome.org/mailman/listinfo/gtk-app-devel-list
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic