Re: commit: file drag-and-drop for win32


Subject: Re: commit: file drag-and-drop for win32
From: Hubert Figuiere (hfiguiere@teaser.fr)
Date: Thu Oct 04 2001 - 08:55:54 CDT


According to Dom Lachowicz <dominicl@seas.upenn.edu>:
> > Still todo: how can I tell if the target frame is empty so I can reuse
> > it
> > instead of opening a new one?
>
> The UNIX code for this is:
>
> if (pFrame->isDirty() || pFrame->getFilename() ||
> (pFrame->getViewNumber() > 0))
> {
> pNewUnixFrame = pApp->newFrame ();
> }
> else
> {
> pNewUnixFrame = pUnixFrame;
> }
> error = pNewUnixFrame->loadDocument(filename, 0 /*
> IEFT_Unknown */);
>
> You can definitely use the logic from the if statement there to help you on
> win32.

Couldn't this code be put in XP-land ? I don't see an ounce of UNIX specific
code.

Hub



This archive was generated by hypermail 2b25 : Thu Oct 04 2001 - 08:54:25 CDT