question about modal messageboxes.

Ivan Leo Puoti puoti at
Fri Oct 29 11:28:28 CDT 2004

I looked at MSDN docs for MessageBox
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
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?


Libero ADSL: navighi gratis a 1.2 Mega, senza canone e costi di attivazione. 
Abbonati subito su 

More information about the wine-devel mailing list