Path: utzoo!utgpu!news-server.csri.toronto.edu!rpi!zaphod.mps.ohio-state.edu!swrinde!elroy.jpl.nasa.gov!decwrl!adobe!epperson From: epperson@adobe.COM (Mark Epperson) Newsgroups: comp.windows.ms.programmer Subject: Re: Statusline Window in Application using MDI Keywords: MDI Message-ID: <16463@adobe.UUCP> Date: 14 Jun 91 06:30:35 GMT References: <1978@nixsin.UUCP> Reply-To: epperson@adobe.UUCP (Mark Epperson) Organization: Adobe Systems Incorporated, Mountain View Lines: 72 Newsgroups: comp.windows.ms.programmer Subject: Re: Statusline Window in Application using MDI Summary: Expires: References: <1978@nixsin.UUCP> Sender: Reply-To: epperson@adobe.UUCP (Mark Epperson) Followup-To: Distribution: Organization: Adobe Systems Incorporated, Mountain View Keywords: MDI In article <1978@nixsin.UUCP> bieniekb@nixsin.UUCP (Beate Bieniek-Moores) writes: > >Hello fellow Windows Programmer! > >Does anybody know how the Windows File Manager sets up the status line >window positioned at the bottom of the frame window? > >I wrote a program doing this without MDI and it works fine (statusline >created as child window, processing of WM_SIZE messages of the >parent window etc.). > >However, integrating these codes into a program using MDI leads to the >following problem: > >The child windows can be moved over the statusline, covering it up. When >these child windows are moved away again, the statusline does not get >re-painted. I am really kind of blurr (this is Sing-lish) about this... > > Try calling MoveWindow(hwndMDIClient, ..... ) AFTER processing the WM_SIZE message for the frame proc. works just fine. Mark Epperson Newsgroups: comp.windows.ms.programmer Subject: Re: Statusline Window in Application using MDI Summary: Expires: References: <1978@nixsin.UUCP> Sender: Reply-To: epperson@adobe.UUCP (Mark Epperson) Followup-To: Distribution: Organization: Adobe Systems Incorporated, Mountain View Keywords: MDI In article <1978@nixsin.UUCP> bieniekb@nixsin.UUCP (Beate Bieniek-Moores) writes: > >Hello fellow Windows Programmer! > >Does anybody know how the Windows File Manager sets up the status line >window positioned at the bottom of the frame window? > >I wrote a program doing this without MDI and it works fine (statusline >created as child window, processing of WM_SIZE messages of the >parent window etc.). > >However, integrating these codes into a program using MDI leads to the >following problem: > >The child windows can be moved over the statusline, covering it up. When >these child windows are moved away again, the statusline does not get >re-painted. I am really kind of blurr (this is Sing-lish) about this... > > Try calling MoveWindow(hwndMDIClient, ..... ) AFTER processing the WM_SIZE message for the frame proc. works just fine. Mark Epperson