Moved to WM_NCCREATE.

This commit is contained in:
Camilla Berglund 2014-04-18 15:49:45 +02:00
parent f91d1d967f
commit cda5b25cb2
1 changed files with 1 additions and 1 deletions

View File

@ -396,7 +396,7 @@ static LRESULT CALLBACK windowProc(HWND hWnd, UINT uMsg,
switch (uMsg)
{
case WM_CREATE:
case WM_NCCREATE:
{
CREATESTRUCTW* cs = (CREATESTRUCTW*) lParam;
SetWindowLongPtrW(hWnd, 0, (LONG_PTR) cs->lpCreateParams);