DC_Windowlist() - modal windows
Posted: Fri Nov 15, 2013 10:40 am
I have looked at DC_Windowlist() as it relates to displaying a listing of windows attached to the application mainwindow. However, if you have normal dialog window with a modal being displayed, is there any way to display a listing of all windows open via the object tree.
For example:
Simple Interest dialog
Popup Window (modal) displayed on dialog
Popup window 2 (modal) displayed on popup window 1 and which is the new setappwindow.
I would like to be able to get a listing of all windows open. I sometimes get lockups in the application and cannot determine the cause. I have some suspicions that it is a lost modal and would like to be able to determine if I have one of these windows open tie the the current running applications. I have multiple dialogs open and the others will be responsive. However, one dialog would not be, like if you have a modal. But is something is wrong and the modal is behind the dialog, you cannot get to the modal under the dialog.
I know that if it is a proper modal, it should be on top, but if it is a unknown programmer issue (can't duplicate yet), I would like to try to be able to at least verify that this is the case so I can try to identify the cause and why it happens sometimes.
Cliff.
For example:
Simple Interest dialog
Popup Window (modal) displayed on dialog
Popup window 2 (modal) displayed on popup window 1 and which is the new setappwindow.
I would like to be able to get a listing of all windows open. I sometimes get lockups in the application and cannot determine the cause. I have some suspicions that it is a lost modal and would like to be able to determine if I have one of these windows open tie the the current running applications. I have multiple dialogs open and the others will be responsive. However, one dialog would not be, like if you have a modal. But is something is wrong and the modal is behind the dialog, you cannot get to the modal under the dialog.
I know that if it is a proper modal, it should be on top, but if it is a unknown programmer issue (can't duplicate yet), I would like to try to be able to at least verify that this is the case so I can try to identify the cause and why it happens sometimes.
Cliff.