PRWIN9012003: Destroy Icon MDI Child Window, Title Remains

ID Number: Q71898

3.00

WINDOWS

buglist3.00 fixlist3.10

Summary:

PROBLEM ID: WIN9012003

SYMPTOMS

In a Windows version 3.0 multiple document interface (MDI)

application, when a minimized MDI child window is destroyed, the

auxiliary window that displays the window title is hidden but is

not destroyed.

RESOLUTION

Microsoft has confirmed this to be a problem in Windows version

3.0. To avoid this problem, Hide the child window and restore it to

normal size before sending the WM_MDIDESTROY message to the child

window.

Note: Do NOT destroy the child window while it is minimized, and

then subsequently try to destroy the icon title window using the

DestroyWindow function, because this may terminate the application

or cause Windows to crash.

This problem was corrected in Windows version 3.1.

Additional reference words: 3.00