PRWIN9012009: Double-Click Zoomed MDI Child System Menu NOP

ID Number: Q72028

3.00

WINDOWS

buglist3.00 fixlist3.10

Summary:

PROBLEM ID: WIN9012009

SYMPTOMS

In a Windows version 3.0 multiple document interface (MDI)

application, double-clicking the system menu of a maximized MDI

child window does not cause the child to close.

RESOLUTION

Microsoft has confirmed this to be a problem in Windows version

3.0. To work around this problem, process WM_NCLBUTTONDBLCLK

messages in the window procedure for the MDI frame window. When a

message is received, send the MDI client window a WM_MDIGETACTIVE

message to determine if the child window is maximized. If it is,

and if the double-click occurred over the child's system menu icon,

send the child a WM_CLOSE message.

This problem was corrected in Windows version 3.1.

Additional reference words: 3.00