Hello,

I noticed the argument order in an event handler in comtypes is reversed when
compared with VB reference. For example:

Excel's Application object has a WindowResize event and according to the VB
reference, the syntax is:
Private Sub object_WindowResize(ByVal Wb As Excel.Workbook, ByVal Wn As
Excel.Window)

But in comtypes, the syntax would be:
def onWindowResize(self, this, Wn, Wb)

The order of Wn and Wb is reversed. Is this intended? 

Also, what is the argument "this" for?

Thank you!




-------------------------------------------------------------------------
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services for
just about anything Open Source.
http://sourceforge.net/services/buy/index.php
_______________________________________________
comtypes-users mailing list
comtypes-users@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/comtypes-users

Reply via email to