I looked at MSDN docs for MessageBox http://msdn.microsoft.com/library/default.asp?url=/library/en-us/winui/winui... 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... 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?
Ivan.
____________________________________________________________ Libero ADSL: navighi gratis a 1.2 Mega, senza canone e costi di attivazione. Abbonati subito su http://www.libero.it