Michele Sandri | 7 Jul 20:18

What happened to drag&drop support?

I have urgent need of wxFileDropTarget support under win32 in wxlua,
if someone can give some hints about which are blocking points, i will
try to help in implementing the remaining parts.

Regards,
Michele

-------------------------------------------------------------------------
Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW!
Studies have shown that voting for your favorite open source project,
along with a healthy diet, reduces your potential for chronic lameness
and boredom. Vote Now at http://www.sourceforge.net/community/cca08
John Labenski | 16 Jul 18:59

Re: What happened to drag&drop support?

On Mon, Jul 7, 2008 at 2:18 PM, Michele Sandri <gpointorama@...> wrote:
> I have urgent need of wxFileDropTarget support under win32 in wxlua,
> if someone can give some hints about which are blocking points, i will
> try to help in implementing the remaining parts.

I haven't used drag & drop in a while, does this help? Are there
missing bits in wxLua that need to be added?

http://www.lpthe.jussieu.fr/~zeitlin/wxWindows/docs/wxwin_wxdndoverview.html#wxdndoverview

Regards,
    John

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
Andre | 2 Aug 19:04
Favicon

Re: What happened to drag&drop support?

Michele Sandri <gpointorama@...> writes:

> 
> I have urgent need of wxFileDropTarget support under win32 in wxlua,
> if someone can give some hints about which are blocking points, i will
> try to help in implementing the remaining parts.
> 
    frame:Connect(wx.wxEVT_DROP_FILES, 
        function(event)
            local files = event:GetFiles();
            for _, fileName in ipairs(files)  do
                loadFilePattern(fileName)
            end
        end)

This may help.

Similar code as in main

        for _, argn in ipairs(arg)  do
            if argn == '--' then break end
            loadFilePattern(argn)
        end

Andre

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
(Continue reading)


Gmane