Commit be3d4071 authored by Zach Gorman's avatar Zach Gorman Committed by Alexandre Julliard

Propsheet pages need WS_EX_CONTROLPARENT style.

parent e84b0796
...@@ -1474,6 +1474,8 @@ static BOOL PROPSHEET_CreatePage(HWND hwndParent, ...@@ -1474,6 +1474,8 @@ static BOOL PROPSHEET_CreatePage(HWND hwndParent,
((MyDLGTEMPLATEEX*)pTemplate)->style &= ~WS_DISABLED; ((MyDLGTEMPLATEEX*)pTemplate)->style &= ~WS_DISABLED;
((MyDLGTEMPLATEEX*)pTemplate)->style &= ~WS_VISIBLE; ((MyDLGTEMPLATEEX*)pTemplate)->style &= ~WS_VISIBLE;
((MyDLGTEMPLATEEX*)pTemplate)->style &= ~WS_THICKFRAME; ((MyDLGTEMPLATEEX*)pTemplate)->style &= ~WS_THICKFRAME;
((MyDLGTEMPLATEEX*)pTemplate)->exStyle |= WS_EX_CONTROLPARENT;
} }
else else
{ {
...@@ -1485,6 +1487,8 @@ static BOOL PROPSHEET_CreatePage(HWND hwndParent, ...@@ -1485,6 +1487,8 @@ static BOOL PROPSHEET_CreatePage(HWND hwndParent,
pTemplate->style &= ~WS_DISABLED; pTemplate->style &= ~WS_DISABLED;
pTemplate->style &= ~WS_VISIBLE; pTemplate->style &= ~WS_VISIBLE;
pTemplate->style &= ~WS_THICKFRAME; pTemplate->style &= ~WS_THICKFRAME;
pTemplate->dwExtendedStyle |= WS_EX_CONTROLPARENT;
} }
if (psInfo->proppage[index].useCallback) if (psInfo->proppage[index].useCallback)
......
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