>From the news group (Jussi Jamppanen with his Zeus editor) : there is
a problem with apps changing the size of the IShellBrowser in the file
open dialog. It seems that the GetOpenFileName function is using a dummy
hidden listbox control to get at the position of the IShellBrowser; this
shellbrowser is created with these dimensions, but it gets a window ID of
0 (shlview.c,  IShellView_fnCreateViewWindow function).

When an app is doing a getdlgitem(hwnd, lst1) it gets at the handle of the
hidden listbox window, not the one of the IShellBrowser.

I verified that by hacking IShellView_fnCreateViewWindow to use 0x460 as
window id, the IShellBrowser window has the expected dimensions.
What is strange is that under NT the id of this window is 0x461. If I force
the ID to 461 it does *not* work :-((

Question (mainly for Juergen :-)) : is it possible to change the interface
for _fncreateviewwindow to add the window ID as another parameter (I guess not
but it never hurts to ask)

Gerard



Reply via email to