"Hongbo Ni" hongbo@njstar.com wrote:
Changes since TRY2 - thanks to Dmitry Timoshkov for advice.
- adds extra bulitin classes: ScrollBar,Message,DDEMLEvent & all #327xx;
- make sure created hwnd is valid;
- more tests for unicodeness of built-in-class window before subclassing;
- add more todo_wine for those extra classes without subclassing.
Tested on Windows Vista SP1, XP SP3.
+#include "windows.h"
Please avoid windows.h (include everything) inclusion, find an appropriate set of smaller include files instead, winnls.h in this case.
The test looks good to me. it passes for me under XP SP3 (32 bit), and Vista SP1 x64 (native 64-bit and emulated 32-bit modes), although in order to pass in 64-bit mode I had to apply the following patch
-#define IS_WNDPROC_HANDLE(x) (((ULONG_PTR)(x) >> 16) == (~((ULONG_PTR)0) >> 16)) +#define IS_WNDPROC_HANDLE(x) (((ULONG_PTR)(x) >> 16) == ((~(ULONG)0) >> 16))
but that's not your fault.
Hi, Can anyone please tell me what's wrong with my one line patch to problem:
http://www.winehq.org/pipermail/wine-patches/2008-August/059294.html
I have created bug #14784 and have attached stand alone window test program http://bugs.winehq.org/attachment.cgi?id=15327
Juan Lang has confirm the test on windows.
As discussed by Dmitry Timoshkov, it's not possible to created such test case in wine since such test involves extra DLLs and another process. http://www.winehq.org/pipermail/wine-devel/2008-August/068031.html
Regards Hongbo Ni _________________________________________________________________ Shout your Messenger buddies to the movies http://www.livelife.ninemsn.com.au/compIntro.aspx?compId=4590