Commit c5524e1e authored by Dmitry Timoshkov's avatar Dmitry Timoshkov Committed by Alexandre Julliard

Replace wParam values for WM_PARENTNOTIFY message by appropriate

symbolic names.
parent abdce339
...@@ -162,7 +162,7 @@ static const struct message WmCreateChildSeq[] = { ...@@ -162,7 +162,7 @@ static const struct message WmCreateChildSeq[] = {
{ WM_CREATE, sent }, { WM_CREATE, sent },
{ WM_SIZE, sent }, { WM_SIZE, sent },
{ WM_MOVE, sent }, { WM_MOVE, sent },
{ WM_PARENTNOTIFY, sent|parent|wparam, 1 }, { WM_PARENTNOTIFY, sent|parent|wparam, WM_CREATE },
{ 0 } { 0 }
}; };
/* CreateWindow (for maximized child window, not initially visible) */ /* CreateWindow (for maximized child window, not initially visible) */
...@@ -179,7 +179,7 @@ static const struct message WmCreateMaximizedChildSeq[] = { ...@@ -179,7 +179,7 @@ static const struct message WmCreateMaximizedChildSeq[] = {
{ WM_NCCALCSIZE, sent }, { WM_NCCALCSIZE, sent },
{ WM_WINDOWPOSCHANGED, sent }, { WM_WINDOWPOSCHANGED, sent },
{ WM_SIZE, sent|defwinproc }, { WM_SIZE, sent|defwinproc },
{ WM_PARENTNOTIFY, sent|parent|wparam, 1 }, { WM_PARENTNOTIFY, sent|parent|wparam, WM_CREATE },
{ 0 } { 0 }
}; };
/* ShowWindow (for child window) */ /* ShowWindow (for child window) */
...@@ -193,7 +193,7 @@ static const struct message WmShowChildSeq[] = { ...@@ -193,7 +193,7 @@ static const struct message WmShowChildSeq[] = {
/* DestroyWindow (for child window) */ /* DestroyWindow (for child window) */
static const struct message WmDestroyChildSeq[] = { static const struct message WmDestroyChildSeq[] = {
{ HCBT_DESTROYWND, hook }, { HCBT_DESTROYWND, hook },
{ WM_PARENTNOTIFY, sent|parent|wparam, 2 }, { WM_PARENTNOTIFY, sent|parent|wparam, WM_DESTROY },
{ WM_SHOWWINDOW, sent|wparam, 0 }, { WM_SHOWWINDOW, sent|wparam, 0 },
{ WM_WINDOWPOSCHANGING, sent|wparam, 0 }, { WM_WINDOWPOSCHANGING, sent|wparam, 0 },
{ WM_ERASEBKGND, sent|parent|optional }, { WM_ERASEBKGND, sent|parent|optional },
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment