"Ivan Leo Puoti" <[EMAIL PROTECTED]> writes: > I looked at MSDN docs for MessageBox > http://msdn.microsoft.com/library/default.asp?url=/library/en-us/winui/winui/windowsuserinterface/windowing/dialogboxes/dialogboxreference/dialogboxfunctions/messagebox.asp > and found that MB_SYSTEMMODAL is identical to MB_APPLMODAL, the only difference > is that the dialogue box is created with WS_EX_TOPMOST. > In Wine the window style is loaded from user32_En.rc, and STYLE contains, > amongst other things, DS_SYSMODAL. MSDN > http://msdn.microsoft.com/library/default.asp?url=/library/en-us/winui/winui/windowsuserinterface/windowing/dialogboxes/aboutdialogboxes.asp > says that if this value is used the window will be created using the > WS_EX_TOPMOST style. But what this means is that in Wine a messagebox is > *always* created with this style, while, if MSDN is correct, this should only > happen when MB_SYSTEMMODAL is passed to MessageBox. Am I getting something wrong > or is this a bug? > If yes, would creating 2 resources, one for MB_APPLMODAL and one for > MB_SYSTEMMODAL be a good solution?
WS_EX_TOPMOST does nothing on Wine anyway, so I wouldn't worry too much about it. We certainly don't want 2 different resources, but it would probably be cleaner to remove DS_SYSMODAL on the existing resource, since the default is MB_APPLMODAL. -- Alexandre Julliard [EMAIL PROTECTED]
