Problem to draw a bitmap

Dmitry Timoshkov dmitry at baikal.ru
Sat Dec 4 05:42:19 CST 2004


"Vincent Béron" <vberon at mecano.gme.usherb.ca> wrote:

> > > > /* Make the window visible on the screen */
> > > >     ShowWindow (hwnd, nFunsterStil);
> >
> > Insert UpdateWindow(hwnd); here.
> >
> > > > PrintBmp(hwnd, "BOARD.bmp");
>
> Still, it works on XP and not on Wine, so we should fix Wine.
> It's probably a message-related difference between the two.

It works on XP by a pure luck. I bet it won't work if you run
the app from a full screen text mode console. Window painting
is asynchronous by its nature, but the app thinks it's not.

--
Dmitry.





More information about the wine-devel mailing list