I'd appreciate it if someone could help me get some information, because I don't have a copy of Windows 98, 2nd Edition to determine the answer myself. This should only take about a minute or two if you're acquainted with Spy++.
What I'm trying to find out is how the structure of a filing system Explorer window differs under different versions of Windows, in order to tell whether the Folders treeview pane at the left is currently being displayed. I've already worked this out under Win2K Pro and Windows 95, but something seems to be different about Windows 98, 2nd Ed. I haven't yet looked into Windows ME, NT, or XP, so it's possible that there are still more variations to be considered, but Win98 2nd Ed. is the immediate problem.
Here is the logic I currently use to determine whether a given Win2K Pro window is an Explorer window in Folders treeview mode, starting from a given top-level HWND:
1. look for untitled child window of class BaseBar
2. look for untitled child of the BaseBar window of class ReBarWindow32
3. look for child of the ReBar window of class SysTreeView32 with title Folders
4. determine whether the preceding SysTreeView32 window is visible
5. if the SysTreeView32 exists and is visible, return .T., else .F.
For Windows 95, the Explorer window structure is simpler, so the following logic works:
1. look for an untitled child window of class SysTreeView32
2. if the SysTreeView32 window exists, return .T., else .F.
Can anyone tell me how this logic needs to be adjusted for Windows 98, 2nd Edition? Also, if you're aware of any other significant Windows version dependencies, please let me know. Thanks in advance for any help.
Mike