[PATCH] riched20: Process WM_GETMINMAXINFO which arrives before WM_NCCREATE.
Dmitry Timoshkov
dmitry at codeweavers.com
Wed Jul 7 04:05:01 CDT 2010
Austin Lund <austin.lund at gmail.com> wrote:
> This unconditional initialization isn't what windows does. Windows
> only creates something at GetWindowLongPtr(hwnd,0) when WM_NCCREATE is
> called. I'm not sure how to start to write a test for that, but I
> have an app which uses hooks to show this (see below).
Then doing simple
if (!editor)
{
if (msg == WM_NCCREATE)
{
/* initialize things */
return;
}
else
return DefWindowProc();
}
should be acceptable.
--
Dmitry.
More information about the wine-devel
mailing list