[python-win32] Howto set a int-Reference for a com-event method

Martin.Moellenbeck at t-online.de Martin.Moellenbeck at t-online.de
Thu Jun 12 17:09:55 EDT 2003


Hi,

my problem is to give back an value for a "int" parameter for a com-event-call

I use the List&Labels Control and have defined the event-callback:

    def OnCmndDefineVariables(self,
                              nUserData,
                              bDummy,
                              pnProgressInPerc,
                              pbLastRecord):

If the cursor moved to the last record, I should set pbLastRecord to 1. 
But after the method-call the value of pbLastRecord is to 0.

Can anybody help me.

Greetings 
Martin



More information about the Python-win32 mailing list