ian807
15 years agoOccasional Contributor
Common dialogs in Windows 7 vs. XP or Vista
The common dialog for file opening has changed in Windows 7 as shown in the table below:
Notice that in the Windows 7 column, the path terminates in "Window("DirectUIHWND",
"", 1)"
The result is that it is no longer possible to select files by name or position, or detect the number of files in the dialog box as it is when the terminating object is "SysListView32.
This breaks several hundred of our scripts which use the common dialogs. Can someone explain how this will be addressed? Is there a workaround better than clicking at some arbitrary, resolution-dependent, x/y position as the recorder does?
Thanks in advance for any help,
Ian Hughes
Seismic Micro-Technology
Houston, TX
V32 | V64 | W764 |
Process("TKS") | Process("TKS") | Process("TKS") |
Window("#32770", "Open", 1) | Window("#32770", "Open", 1) | Window("#32770", "Open", 1) |
Window("DUIViewWndClassName", "", 1) | Window("DUIViewWndClassName", "", 1) | Window("DUIViewWndClassName", "", 1) |
Window("DirectUIHWND", "", 1) | Window("DirectUIHWND", "", 1) | Window("DirectUIHWND", "", 1) |
Window("CtrlNotifySink", "", 4) | Window("CtrlNotifySink", "", 4) | Window("CtrlNotifySink", "", 3) |
Window("SHELLDLL_DefView", "ShellView", 1) | Window("SHELLDLL_DefView", "ShellView", 1) | Window("SHELLDLL_DefView", "ShellView", 1) |
Window("SysListView32", "FolderView", 1) | Window("SysListView32", "FolderView", 1) | Window("DirectUIHWND", "", 1) |
Notice that in the Windows 7 column, the path terminates in "Window("DirectUIHWND",
"", 1)"
The result is that it is no longer possible to select files by name or position, or detect the number of files in the dialog box as it is when the terminating object is "SysListView32.
This breaks several hundred of our scripts which use the common dialogs. Can someone explain how this will be addressed? Is there a workaround better than clicking at some arbitrary, resolution-dependent, x/y position as the recorder does?
Thanks in advance for any help,
Ian Hughes
Seismic Micro-Technology
Houston, TX