help with filling a struct for use in win32api.SendMessage()

Syver Enstad syver-en+usenet at online.no
Thu Mar 20 14:40:03 CET 2003


Roger Erens <r.erens at eurosys.nl> writes:

> Hello,
> 
> I'd like to make an MS windows application show up and present me some
> data.
> 
> I ought to use the windows API-calls FindWindow and SendMessage, but I
> don't
> 
> really know how to create the arguments needed for the latter call.
> Could someone give me some directions about how to construct the 'xxx'
> in
> 
> the code fragment below? Should I use something like ctypes or
> Pyrex?

Check out array and struct in the standard library, play a bit around
with them. They are quite nice for low-level argument massaging.
 

-- 

Vennlig hilsen 

Syver Enstad




More information about the Python-list mailing list