Newsgroups: comp.windows.ms.programmer
Path: utzoo!utgpu!watserv1!watmath!hyper.hyper.com!bonneau
From: bonneau@hyper.hyper.com (Paul Bonneau)
Subject: Re: Child window in Parent Window, how do I make child unmovable?
Message-ID: <1991Apr25.185758.25661@hyper.hyper.com>
Keywords: Windows,Parent,Child,Programming
Reply-To: bonneau@hyper.UUCP (Paul Bonneau,,)
Organization: HyperCube Inc.
References: <1991Apr24.183126.5328@b11.ingr.com>
Date: Thu, 25 Apr 1991 18:57:58 GMT

In article <1991Apr24.183126.5328@b11.ingr.com> ww@beach.cis.ufl.edu writes:
>
>The problem:
>------------
>I am trying to create a window (child) within a window (parent).  I
>want the child window to be constrained by the boundaries of the 
>parent window AND I want it to be unmovable.  The child window will
>have a title and a border.
>
Trap the WM_SYSCOMMAND message, and if wParam is SC_MOVE,
*don't* call DefWindowProc().

cheers - Paul Bonneau.
