[dx8] bf1942 single player demo startup problem

Ann and Jason Edmeades us at the-edmeades.demon.co.uk
Mon Sep 20 14:13:39 CDT 2004

As per my note to wine-devel, bf1942's window proc gets an unexpected
windows msg (activated) when the SetWindowPos occurs for a hidden window,
and treats it as though focus was lost and regained. This patch prevents
d3d8 from generating it by not hiding and restoring itself - In the demos I
have tried this is is a pretty irrelevant and unnoticable change.

bf1942 single player demo gets on a little further before trapping for no
apparent reason!


Dont hide and restore the window when changing it to be a popup style

-------------- next part --------------
A non-text attachment was scrubbed...
Name: dx8.bf1942.patch
Type: application/octet-stream
Size: 762 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-patches/attachments/20040920/38d492d8/dx8.bf1942.obj

More information about the wine-patches mailing list