home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #16 / NN_1992_16.iso / spool / comp / os / mswindo / programm / misc / 963 < prev    next >
Encoding:
Text File  |  1992-07-22  |  1.7 KB  |  44 lines

  1. Newsgroups: comp.os.ms-windows.programmer.misc
  2. Path: sparky!uunet!mcsun!sun4nl!rulway.LeidenUniv.nl!rulfc1!jeroenp
  3. From: jeroenp@rulfc1.LeidenUniv.nl (Jeroen W. Pluimers)
  4. Subject: Problems with MDI wm_EraseBkGnd
  5. Message-ID: <1992Jul22.210501.13324@rulway.LeidenUniv.nl>
  6. Sender: root@rulway.LeidenUniv.nl (System PRIVILEGED Account)
  7. Nntp-Posting-Host: rulfc1.leidenuniv.nl
  8. Organization: Dept. FMC, Gorlaeus Labs, Leiden University, The Netherlands
  9. Date: Wed, 22 Jul 92 21:05:01 GMT
  10. Lines: 32
  11.  
  12. Hi All.
  13.  
  14.  
  15. I have an MDI application with MDI child windows.
  16.  
  17. When an MDI child has been maximized withing the MDI frame and I maximize
  18. the MDI frame the following things happen:
  19.  
  20. - Windows resizes the MDI frame
  21. - Windowc copies the MDI child contents to it's new position
  22. - Windows tells the MDI child twice to erase it's background
  23. - Windows tells the MDI child to repaint it's entire contents
  24.  
  25. This also happens when the maximized MDI frame is restored. It's not happening
  26. when the MDI child itself is being maximized or restored.
  27.  
  28. The problem with this is that the screen is updated partially 
  29. by windows, then erases (looks like a flicker) and then repainted
  30. by the application.
  31.  
  32. How can I circumvent this?
  33.  
  34. (What I really want is that windows tells me to repaint parts of the MDI
  35. child window and does not ask for erasure of the background).
  36.  
  37. --
  38.     o _   _  _   _   _             voice: +31-2522-20908 (19:00-24:00 UTC)
  39.    / (_' |  (_) (_' | |            snail: P.S.O.
  40. __/                                       attn. Jeroen W. Pluimers
  41.                                           P.O. Box 266
  42. jeroenp@rulfc1.LeidenUniv.nl              2170 AG Sassenheim
  43. jeroen_pluimers@f521.n281.z2.fidonet.org  The Netherlands
  44.