[Bug 5537] ninjam: Enter (return) key does not work

wine-bugs at winehq.org wine-bugs at winehq.org
Wed Jan 7 20:06:49 CST 2009


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


Dylan Smith <dylan.ah.smith at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
                 CC|                            |dylan.ah.smith at gmail.com




--- Comment #7 from Dylan Smith <dylan.ah.smith at gmail.com>  2009-01-07 20:06:47 ---
(In reply to comment #6)
> Keeps giving me an 'Error opening audio' error in git. Tried fiddling with
> settings in winecfg, but no luck.
> 

I found the same thing too, even with native richedit dll overrides, but the
richedit bug can be tested without a server by entering text into the text
field in the bottom right hand corner of the main window, then pressing enter. 
This puts the text "*** error: not connected to a server." in the above text
box with native riched20 but with the builtin dll it doesn't put this text in
the text box.

The problem seems to be that WM_GETDLGCODE is not returning a value with the
DLGC_WANTMESSAGE bit, which seems to prevent the WM_KEYDOWN message from being
sent with VK_RETURN, since ORing this bit to the return value for this case
seems to fix the bug.  Some tests should be written for WM_GETDLGCODE to check
what should be returned in different cases.


-- 
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
Do not reply to this email, post in Bugzilla using the
above URL to reply.
------- You are receiving this mail because: -------
You are watching all bug changes.



More information about the wine-bugs mailing list