WS_EX_CONTROLPARENT
Ulrich Czekalla
ulrich.czekalla at utoronto.ca
Mon Aug 23 14:57:34 CDT 2004
ChangeLog:
Ulrich Czekalla <ulrich at codeweavers.com>
Set WS_EX_CONTROLPARENT when dialog has DS_CONTROL
-------------- next part --------------
Index: windows/dialog.c
===================================================================
RCS file: /home/wine/wine/windows/dialog.c,v
retrieving revision 1.131
diff -u -r1.131 dialog.c
--- windows/dialog.c 14 Jul 2004 00:49:40 -0000 1.131
+++ windows/dialog.c 23 Aug 2004 19:46:55 -0000
@@ -546,6 +546,8 @@
template.style &= ~(WS_CAPTION|WS_SYSMENU);
if (template.style & DS_MODALFRAME)
template.exStyle |= WS_EX_DLGMODALFRAME;
+ if (template.style & DS_CONTROL)
+ template.exStyle |= WS_EX_CONTROLPARENT;
AdjustWindowRectEx( &rect, template.style, (hMenu != 0), template.exStyle );
rect.right -= rect.left;
rect.bottom -= rect.top;
More information about the wine-patches
mailing list