T
terrence.jones
Hello All,
I have a modeless child form displayed on top of an owner form. I am
seeing the strange behavior of the modeless form's Closing event being
fired in reponse to the minimize button being pressed on the owner.
Pressing the minimize button of the child works as expected however.
The only messages I see received after pressing Minimize and before
entering the Closing event handler are:
WM_SHOWWINDOW (SW_PARENTCLOSING)
WM_SHOWWINDOW
WM_SHOWWINDOW
WM_WINDOWPOSITIONCHANGING
WM_WINDOWPOSITIONCHANGED
WM_WINDOWPOSITIONCHANGED
WM_SHOWWINDOW
I am at a compelete loss on this one, though as usually, it's probably
something simple.
Thanks.
I have a modeless child form displayed on top of an owner form. I am
seeing the strange behavior of the modeless form's Closing event being
fired in reponse to the minimize button being pressed on the owner.
Pressing the minimize button of the child works as expected however.
The only messages I see received after pressing Minimize and before
entering the Closing event handler are:
WM_SHOWWINDOW (SW_PARENTCLOSING)
WM_SHOWWINDOW
WM_SHOWWINDOW
WM_WINDOWPOSITIONCHANGING
WM_WINDOWPOSITIONCHANGED
WM_WINDOWPOSITIONCHANGED
WM_SHOWWINDOW
I am at a compelete loss on this one, though as usually, it's probably
something simple.
Thanks.