Re: [python-win32] Pywin32+MFC Ok on 7 Vista, bad on XP

2010-04-06 Thread lin_2008
Yellow stone diesel parts plant is one of the leading manufacturers of engine parts, in particular diesel fuel injection system accessories for replacement, such as Fuel injection Nozzle, Plunger and Delivery valve, ETC In south of china . for more detail please visit our website :

Re: [python-win32] Pywin32+MFC Ok on 7 Vista, bad on XP ; solved/r�solu

2010-03-31 Thread Michel Claveau
Re! Sorry for late, but I have work for 35 hours, each day... The problem was WS_EX_LAYERED. I used that: s=win32gui.GetWindowLong(self.hwnd, win32con.GWL_EXSTYLE) win32gui.SetWindowLong(self.hwnd, win32con.GWL_EXSTYLE, s | win32con.WS_EX_LAYERED) but WS_EX_LAYERED must not used

Re: [python-win32] Pywin32+MFC Ok on 7 Vista, bad on XP

2010-03-29 Thread Michel Claveau
Hi! Sorry for the lack of information. I use win32gui + directAPI (SendMessage). With differents tests, I found: - No problem, if I use dialog (CreateDialogIndirect instead CreateWindowEx). But dialog is limited (no NM_CUSTOMDRAW...) - No problem, if I do not use any: SetGraphicsMode or

Re: [python-win32] Pywin32+MFC Ok on 7 Vista, bad on XP

2010-03-29 Thread Tim Roberts
Michel Claveau wrote: Sorry for the lack of information. I use win32gui + directAPI (SendMessage). With differents tests, I found: - No problem, if I use dialog (CreateDialogIndirect instead CreateWindowEx). But dialog is limited (no NM_CUSTOMDRAW...) I don't know what that means.

Re: [python-win32] Pywin32+MFC Ok on 7 Vista, bad on XP

2010-03-28 Thread Tim Roberts
You wrote: Hi, all ! I write several scripts with Pywin32, for work with MFC's windows some controls. All scripts run good on Windows-7 (32 64) and Vista. But, on XP, all windows are white. Labels, fields, treeviews, listviews, images, buttons, etc. are present, but not visible. If I click

[python-win32] Pywin32+MFC Ok on 7 Vista, bad on XP

2010-03-27 Thread Michel Claveau
Hi, all ! I write several scripts with Pywin32, for work with MFC's windows some controls. All scripts run good on Windows-7 (32 64) and Vista. But, on XP, all windows are white. Labels, fields, treeviews, listviews, images, buttons, etc. are present, but not visible. If I click on buttons