home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.os.ms-windows.programmer.misc
- Path: sparky!uunet!mcsun!sun4nl!rulway.LeidenUniv.nl!rulfc1!jeroenp
- From: jeroenp@rulfc1.LeidenUniv.nl (Jeroen W. Pluimers)
- Subject: Problems with MDI wm_EraseBkGnd
- Message-ID: <1992Jul22.210501.13324@rulway.LeidenUniv.nl>
- Sender: root@rulway.LeidenUniv.nl (System PRIVILEGED Account)
- Nntp-Posting-Host: rulfc1.leidenuniv.nl
- Organization: Dept. FMC, Gorlaeus Labs, Leiden University, The Netherlands
- Date: Wed, 22 Jul 92 21:05:01 GMT
- Lines: 32
-
- Hi All.
-
-
- I have an MDI application with MDI child windows.
-
- When an MDI child has been maximized withing the MDI frame and I maximize
- the MDI frame the following things happen:
-
- - Windows resizes the MDI frame
- - Windowc copies the MDI child contents to it's new position
- - Windows tells the MDI child twice to erase it's background
- - Windows tells the MDI child to repaint it's entire contents
-
- This also happens when the maximized MDI frame is restored. It's not happening
- when the MDI child itself is being maximized or restored.
-
- The problem with this is that the screen is updated partially
- by windows, then erases (looks like a flicker) and then repainted
- by the application.
-
- How can I circumvent this?
-
- (What I really want is that windows tells me to repaint parts of the MDI
- child window and does not ask for erasure of the background).
-
- --
- o _ _ _ _ _ voice: +31-2522-20908 (19:00-24:00 UTC)
- / (_' | (_) (_' | | snail: P.S.O.
- __/ attn. Jeroen W. Pluimers
- P.O. Box 266
- jeroenp@rulfc1.LeidenUniv.nl 2170 AG Sassenheim
- jeroen_pluimers@f521.n281.z2.fidonet.org The Netherlands
-