[Bug 10233] TCM_GETCURFOCUS returns negative value

wine-bugs at winehq.org wine-bugs at winehq.org
Mon Oct 29 18:35:53 CDT 2007


http://bugs.winehq.org/show_bug.cgi?id=10233


Lei Zhang <thestig at google.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|UNCONFIRMED                 |NEW
     Ever Confirmed|0                           |1




--- Comment #1 from Lei Zhang <thestig at google.com>  2007-10-29 18:35:52 ---
I don't think your assumption that TCM_GETCURFOCUS never returns negative
values is correct. In dlls/comctl32/tests/tab.c, Hagop wrote tests where the
expected return value from Windows is -1. These tests pass on WinXP and Win2K
for me, so I'd say those tests are correct.

Now I looked at the log you posted to wine-devel, and it looks like there
exists cases where Wine gets it wrong. I have written a test to show the
regression and I'll have it fixed in a bit.


-- 
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are watching all bug changes.



More information about the wine-bugs mailing list