class PyIDropTarget:
_public_methods_ = ['DragEnter', 'DragOver', 'DragLeave', 'Drop']
_reg_progid_ = "Python.PyIDropTarget"
_reg_clsid_ = '{0122---C000-0046}'
def DragEnter(self, args=None):
print 'DragEnter: ', args
def DragOver(self, args=None):
Alex Denham wrote:
class PyIDropTarget:
_public_methods_ = ['DragEnter', 'DragOver', 'DragLeave', 'Drop']
_reg_progid_ = "Python.PyIDropTarget"
_reg_clsid_ = '{0122---C000-0046}'
def DragEnter(self, args=None):
print 'DragEnter: ', args
def DragOver(self,
ah thanks very much, initially i had a unique GUID however i got giddy and
excited when i found 'PyIDropTarget' in one of the modules, unfortunatly it was
just an id (i thought it was an object)
I'm working my way through python programming on win32, do you know of any
other material i can work
Alex Denham wrote:
class PyIDropTarget:
_public_methods_ = ['DragEnter', 'DragOver', 'DragLeave', 'Drop']
_reg_progid_ = "Python.PyIDropTarget"
_reg_clsid_ = '{0122---C000-0046}'
def DragEnter(self, args=None):
print 'DragEnter: ', args
def DragOver
Thanks Tim, the program actually reacts when something is dragged over (much
better than before).
However i'm receiving an error everytime.
>>> pythoncom error: Unexpected exception in gateway method 'DragEnter'
: DragEnterpythoncom error: Unexpected
gateway error
Also, in the documentation it
Hello everyone
I'm developing a web application using mod_python and the apache web server.
That application has to handle xml files and for that I'm using win32com with
with MSXML.
My problem is, that apache spawns a new process / thread (not sure wether ist a
process or thread. I think it's
Hi,
first of all, just import pythoncom directly
import pythoncom
As far as where to put pythoncom.CoInitialize() I'm not certain but i think at
the top (or start) of your whole application.. if it's threaded then call it
for each thread (at the start)
"Initializes the COM library on the curr
[EMAIL PROTECTED] wrote:
> I'm developing a web application using mod_python and the apache web
> server. That application has to handle xml files and for that I'm
using
> win32com with with MSXML.
>
> My problem is, that apache spawns a new process / thread (not sure
> wether ist a process or thr
[EMAIL PROTECTED] wrote:
Hello everyone
I'm developing a web application using mod_python and the apache web server.
That application has to handle xml files and for that I'm using win32com with
with MSXML.
My problem is, that apache spawns a new process / thread (not sure wether ist a proces
[EMAIL PROTECTED] wrote:
> Thank you Rober & Alex for the answers :-)
> But I must admit that I'm still bit uncertain about that whole issue.
> As I understood apache it is creating a thread for every request
> anyway, or not? (and yes, on windows the MPM winnt is used)
As I understand it, Apache
Alex Denham wrote:
Thanks Tim, the program actually reacts when something is dragged over
(much better than before).
However i'm receiving an error everytime.
>>>
pythoncom error: Unexpected exception in gateway method 'DragEnter'
: DragEnter
pythoncom error: Unexpected gateway error
I've
No problems, thanks for your help so far and the code below.
The lack of drag and drop isn't stopping my program from working, it's just a
feature i would really like to implement.
I'll wait for some more help and in the meantime learn more about the win32
modules and windows programming in gener
Thank you Rober & Alex for the answers :-)
But I must admit that I'm still bit uncertain about that whole issue. As I
understood apache it is creating a thread for every request anyway, or not?
(and yes, on windows the MPM winnt is used)
so wouldn't it be enough to just call CoInitialized() at th
Tim Golden wrote:
Alex Denham wrote:
Parameters
/pDataObj/ : *PyIDataObject **
How do i link the IDataObject to the IDragTarget?
I don't know that you can, if you're asking: how do I
find out where this is coming from?. I think the drag-drop
technique is endpoint-agnostic. (A high-so
14 matches
Mail list logo