[Bug 1513] WM_HELP sent at wrong time; needs to support 0x4d message

Wine Bugs wine-bugs at winehq.org
Mon Oct 10 18:24:11 CDT 2005


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





------- Additional Comments From jr-winebugs at quo.to  2005-10-10 18:24 -------
Created an attachment (id=1148)
 --> (http://bugs.winehq.org/attachment.cgi?id=1148&action=view)
Example code

Here's a simple example program that illustrates the difference between Windows
and Wine.

Try running the code on Windows (95 or later). Press F1. The program displays:
"Got 0x4d message. Pass it to DefWindowProc?" If you answer Yes, you'll get
another message box: "Got WM_HELP message." If you answer No, Windows will not
send a WM_HELP message.

On Wine, you just get the "Got WM_HELP message" box. A 0x4d message is never
received by the application.

So, in summary, Wine's current behavior is as follows:

- F1 keystroke received
- SendMessage(..., WM_HELP, ...)

The behavior should be:

- F1 keystroke received
- PostMessage(..., 0x4d, 0, 0)
- In DefWindowProc:
  case 0x4d:
     SendMessage(..., WM_HELP, ...)

-- 
Configure bugmail: http://bugs.winehq.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.



More information about the wine-bugs mailing list