On Sun, 22 Oct 2000, gerard patel wrote:

> 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.

Yes, sort of. Try looking at my documentation/gui, the "Destruction of a
modal dialog (32)" case. In real windows, the dialog's parent (MSWord main
window?) is activated (and hence focused) even before the dialog itself
receives WM_DESTROY. Although I haven't checked exactly when the children
are destroyed in this sequence, it does not matter for this since the
focus is apparently changed explicitly before they do anyway.



Reply via email to