Re: [python-win32] WMI module - Properties Order

2012-01-04 Thread pierre baral
Thanks a lot Tim, I also thought about that hack! :) I could also parse the wql to put params in a list. (It would also have be nice to have a list of not ordered properties (after the wql parsing). Something like props = [getattr(obj, p) for p in obj.notordered_properties] :-P) c =

[python-win32] Problem with win32gui and WM_CREATE

2012-01-13 Thread pierre baral
I have tried a lot of code found on the net such as the following: http://pastebin.com/raw.php?i=a19kZMeQ or also the following code: *import win32gui, win32con* *def wndProc(hwnd, msg, wParam, lParam): if msg == win32con.WM_CREATE: print 'message: WM_CREATE' if msg == win32con.WM_SIZE:

Re: [python-win32] Problem with win32gui and WM_CREATE

2012-01-13 Thread pierre baral
ARGH, too bad :) Does anyone know a message which is send only one time during the life of an application, just after the createwindow call? ;-p 2012/1/13 Amaury Forgeot d'Arc amaur...@gmail.com Hi, 2012/1/13 pierre baral pierre.ba...@gmail.com and on my Windows, the message WM_CREATE