Just Launched: You can now import projects and releases from Google Code onto SourceForge
We are excited to release new functionality to enable a 1-click import from Google Code onto the Allura platform on SourceForge. You can import tickets, wikis, source, releases, and more with a few simple steps. Read More
From: Thomas Heller <theller@py...> - 2004-02-23 20:01:41
I'm looking at the venster test_dragdrop sample, trying to get it to
The reason that it currently crashes is probably the
IDataObject.EnumFormatEtc() method implementation.
Returning E_NOTIMPL from this method makes the sample work.
I will look further into this and report later.
There are other pieces of the code that don't look right:
def QueryGetData(self, this, pFormatetc):
if pFormatetc.contents.cfFormat != self.cfFormat:
elif pFormatetc.contents.dwAspect != DVASPECT_CONTENT:
Invalid value for pFormatetc.
Sounds somewhat different to me...
And, ATL seems to always return E_NOTIMPL in this method.
DataAvailable = property(lambda self: self._getFORMATETC != None)
looks wrong, shouldn't this be
DataAvailable = property(lambda self: self._getFORMATETC() != None)