Paul Gofman gofmanp@gmail.com writes:
On 4/6/20 16:59, Alexandre Julliard wrote:
Yes, except it should be done by setting a pixel format on the window.
That is already done for the ddraw window itself, but of course not for the other windows (dialogs and its controls) for which the game expects certain _PAINT messages. Do you think we can set pixel format on all the windows owned or created by the application when going exclusive fullscreen mode, or am I missing something? I am not yet sure how that could work for a general case as in theory application could have set some pixel format explicitly on some windows and expect that to be preserved.
If the other windows can't be painted normally, user32 will have to be told about it. The pixel format is the existing mechanism, but if that's not good enough we could add a different one of course.