home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #27 / NN_1992_27.iso / spool / comp / os / mswindo / programm / misc / 3639 < prev    next >
Encoding:
Internet Message Format  |  1992-11-24  |  1.3 KB

  1. Xref: sparky comp.os.ms-windows.programmer.misc:3639 comp.os.ms-windows.programmer.tools:1496
  2. Newsgroups: comp.os.ms-windows.programmer.misc,comp.os.ms-windows.programmer.tools,comp.windows.ms.programmer
  3. Path: sparky!uunet!cs.utexas.edu!torn!watserv2.uwaterloo.ca!watserv1!monet.uwaterloo.ca!schao
  4. From: schao@monet.uwaterloo.ca (Stewart Chao)
  5. Subject: Help with SAVEBITS class style
  6. Message-ID: <By7EqG.BwK@watserv1.uwaterloo.ca>
  7. Keywords: SAVEBITS class style
  8. Sender: news@watserv1.uwaterloo.ca
  9. Organization: University of Waterloo
  10. Date: Tue, 24 Nov 1992 04:49:27 GMT
  11. Lines: 13
  12.  
  13. Has anyone used the CS_SAVEBITS class style?  When I create a class with this
  14. attribute, the Windows does not save the overwritten part of the screen, as it
  15. should.  When my window is moved, the window under my window is sent a WM_PAINT
  16. message.  I am trying to mimic the POPUPMENU class which uses CS_SAVEBITS.
  17.  
  18. I am using BC++ 3.1 and WinSight to track the window messages.  Can anyone
  19. help me?  Thank you.
  20.  
  21. (PS.  The POPUPMENU class, any of the windows of a popmenu, saves whatever
  22.       it covers to a bitmap and when the windows is destroyed the bitmap is
  23.       used to restored the region obscured, instead of giving the covered
  24.       windows a WM_PAINT message.  CS_SAVEBITS supposely tells windows to 
  25.       treat my windows in this manner, but does not (according to WinSight)).
  26.