by ZvezdanD » Tue Apr 21, 2009 10:02 am
Fraxav wrote:ZvezdanD wrote:Is this usual Windows behavior manged by System?
Probably. I noticed that some windows in WinXP fall in background when they should be in foreground.
No, you are wrong. My question was rhetorical and this is not usual Windows behavior at all. There is absolutely none Windows application which have MsgBox and CommonDialog dialog boxes that are not modal, i.e. that are modeless. If you don't know what I am talking about, the modal dialog is such window where you need to click on OK or Close or something else to return to main window and modeless dialog is such that you could use other options from the main window without closing that dialog. Also, if you need explanation, the CommonDialog is used for Open File and Save File in other applications. That dialog is always on the top of its parent application and you cannot use anything in that application until you choose Open or Cancel. Same state is for MsgBox - this dialog box is for displaying some important information, sometimes it is critical with errors and there is abolutely none regular Windows application where this dialog is modeless. Such message boxes needs user atention and an application should not continue with the execution until you don't decide what should be done.
We could discus here if their Options dialog box or Burn dialog or Convert or whatever else dialog should be modal or not, but MsgBox and CommonDialog should not be modeless at all. Yes, there are applications which have modeless dialog boxes which could go behind its main window. However, with many applications even modeless windows are on the top of its main window. Just take a look at Preferences from Winamp and many other Windows applications with modeless dialog boxes which I mentioned here:
http://www.mediamonkey.com/forum/viewto ... 30#p199830. As I said in the that thread, MM developers generally have a problem with z-order of windows, i.e. with their foreground/active state.
[quote="Fraxav"][quote="ZvezdanD"]Is this usual Windows behavior manged by System?[/quote]
Probably. I noticed that some windows in WinXP fall in background when they should be in foreground.[/quote]
No, you are wrong. My question was rhetorical and this is not usual Windows behavior at all. There is absolutely none Windows application which have MsgBox and CommonDialog dialog boxes that are not modal, i.e. that are modeless. If you don't know what I am talking about, the modal dialog is such window where you need to click on OK or Close or something else to return to main window and modeless dialog is such that you could use other options from the main window without closing that dialog. Also, if you need explanation, the CommonDialog is used for Open File and Save File in other applications. That dialog is always on the top of its parent application and you cannot use anything in that application until you choose Open or Cancel. Same state is for MsgBox - this dialog box is for displaying some important information, sometimes it is critical with errors and there is abolutely none regular Windows application where this dialog is modeless. Such message boxes needs user atention and an application should not continue with the execution until you don't decide what should be done.
We could discus here if their Options dialog box or Burn dialog or Convert or whatever else dialog should be modal or not, but MsgBox and CommonDialog should not be modeless at all. Yes, there are applications which have modeless dialog boxes which could go behind its main window. However, with many applications even modeless windows are on the top of its main window. Just take a look at Preferences from Winamp and many other Windows applications with modeless dialog boxes which I mentioned here: http://www.mediamonkey.com/forum/viewtopic.php?p=199830#p199830. As I said in the that thread, MM developers generally have a problem with z-order of windows, i.e. with their foreground/active state.