🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.os.ms-windows.programmer.misc
Article #2216

Help with SAVEBITS class style

#2216
From: Stewart Chao
Date: Tue, 24 Nov 1992 04:49
13 lines
1299 bytes
Has anyone used the CS_SAVEBITS class style?  When I create a class with this
attribute, the Windows does not save the overwritten part of the screen, as it
should.  When my window is moved, the window under my window is sent a WM_PAINT
message.  I am trying to mimic the POPUPMENU class which uses CS_SAVEBITS.

I am using BC++ 3.1 and WinSight to track the window messages.  Can anyone
help me?  Thank you.

(PS.  The POPUPMENU class, any of the windows of a popmenu, saves whatever
      it covers to a bitmap and when the windows is destroyed the bitmap is
      used to restored the region obscured, instead of giving the covered
      windows a WM_PAINT message.  CS_SAVEBITS supposely tells windows to 
      treat my windows in this manner, but does not (according to WinSight)).
Technical Details
Message-ID: <By7EqG.BwK@watserv1.uwaterloo.ca>
Path: arc1-ca.pugleaf.net!sparky!uunet!cs.utexas.edu!torn!watserv2.uwaterloo.ca!watserv1!monet.uwaterloo.ca!schao

Show Full Headers
Complete Article Headers
Newsgroups: comp.os.ms-windows.programmer.misc,comp.os.ms-windows.programmer.tools,comp.windows.ms.programmer
Path: arc1-ca.pugleaf.net!sparky!uunet!cs.utexas.edu!torn!watserv2.uwaterloo.ca!watserv1!monet.uwaterloo.ca!schao
From: schao@monet.uwaterloo.ca (Stewart Chao)
Subject: Help with SAVEBITS class style
Message-ID: <By7EqG.BwK@watserv1.uwaterloo.ca>
Keywords: SAVEBITS class style
Sender: news@watserv1.uwaterloo.ca
Organization: University of Waterloo
Date: Tue, 24 Nov 1992 04:49:27 GMT
Lines: 13