At 08:14 PM 10/22/00 +0200, you wrote:
>Hi,
>
>When opening a file in WinWord98 the latter sometimes crashes.
>
>Apparently, one window (probably the top filedialog window?) gets destroyed
>and following sequence of events happens:
>
>WIN_SendDestroyMsg() is entered for the toplevel window
>focus is set
>WM_DESTROY is sent to the window
>
>for all children:
> WIN_SendDestroyMsg() is entered for the child window
>
> WM_DESTROY is sent to the child window
> ...
> focus is set to the PARENT (toplevel destroyed) window.
>
>focus is set to the PARENT window.
I have such a nasty doubt suddenly : has anyone ever checked if really the wm_destroy
message is sent first to the parent, and after to its children ? It would be as
logical to begin first with the children, then after that the parent.
I have no time this evening (night) to come back to windows and search for
that, but I compiled this change presto and it just seems to fix completely
one of my long standing unfixable bugs, so maybe it's not complete nonsense :-)
Gerard