Commit 897f11d3 authored by Andrew Eikum's avatar Andrew Eikum Committed by Alexandre Julliard

user32: Don't use DLGTEMPLATE's ExStyle when creating dialogs.

parent 1d864cfd
......@@ -498,6 +498,7 @@ static HWND DIALOG_CreateIndirect( HINSTANCE hInst, LPCVOID dlgTemplate,
if (!dlgTemplate) return 0;
dlgTemplate = DIALOG_ParseTemplate32( dlgTemplate, &template );
template.exStyle = 0; /* exstyle is ignored */
/* Load menu */
......
......@@ -1061,7 +1061,7 @@ static void test_MessageBoxFontTest(void)
0x01,0x00, /* Version */
0xff,0xff, /* Extended template marker */
0x00,0x00,0x00,0x00, /* Context Help ID */
0x00,0x00,0x00,0x00, /* Extended style */
0x40,0x00,0x00,0x00, /* Extended style (WM_EX_MDICHILD) */
0xc0,0x00,0xc8,0x80, /* Style (WS_SYSMENU|WS_CAPTION|WS_POPUP|DS_SETFONT|DS_MODALFRAME) */
0x01,0x00, /* Control count */
0x00,0x00, /* X */
......
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