WinBatch Tech Support Home

Database Search

If you can't find the information using the categories below, post a question over in our WinBatch Tech Support Forum.


Control Manager

Can't find the information you are looking for here? Then leave a message over on our WinBatch Tech Support Forum.

How to tell if a window is a response dialog

Keywords:    modal response dialog modeless


Is there any way for WinBatch to determine whether a given window is a modal response dialog, as opposed to a modeless "main" window? My goal is to automatically close any response windows that may open while running batch jobs unattended.


The Control Manager Extender might help you out here. It can be downloaded from the WIL Add-Ons section of our download page.

Question (thread continued):

I have the Control Manager and have checked but so far been unable to find any way to tell if a window is a modal "response" dialog. Any other ideas? By the way, thanks for quick response time.


Hmmm. Is the window "modal". I know of no good way of checking. Perhaps if you hit the parent window with a cEnableState from the Control Manager extender. If the current window is modal, the parent should be disabled...
Article ID:   W12502
Filename:   Figure out if Window is Response Dialog.txt
File Created: 2017:07:28:13:58:26
Last Updated: 1999:04:15:16:47:40