Article View: comp.os.ms-windows.programmer.graphics
Article #35Re: Background Animation
From: Andreas Arff
Date: Wed, 27 Nov 1996 00:00
Date: Wed, 27 Nov 1996 00:00
36 lines
1940 bytes
1940 bytes
A. McMorris wrote: > > Sounds like you need to fiddle with the window attributes or refresh > message handling. > > consider the code: > > WNDCLASS myWindClass; > > myWindClass.style = CS_HREDRAW | CS_VREDRAW; > > This example simply tells the application to redraw the screen if there is > a vertical or horizontal resize. There must be some other redraw > identifiers that you can put in there to tell the application to redraw all > the time, I'm just not sure what it is. Anyone? [I think] this is a dead end. You would probably be better of using a timer, either install a WM_TIMER or use the timer callbacks in the MMSYSTEM depending on the resolution you want. You don't say anything about how you keep the animation running while in focus, not OnIdle I hope;-). You'd be better off only using one method than both e.g. OnIdle and a timer callback. > // Alex McMorris -- Physics/Engineering Physics > // mcmorris@engr.orst.edu > // http://www.engr.orst.edu/~mcmorris Andreas -- Andreas Arff mailto:arf@ergosoft.no or mailto:andarff@online.no I am just a boring sig
Technical Details
Message-ID:
<329BFDB4.888@ergosoft.no>Path:
arc1-ca.pugleaf.net!unknown!not-for-mailReferences:
<01bbdbc8$729489e0$LocalHost@steve> <01bbdbdc$acc68500$6489c180@ecmtemp>Show Full Headers
Complete Article Headers
X-Google-Language: ENGLISH,ASCII-7-bit X-Google-Thread: 110a07,f78ff5eb042fc232 X-Google-Attributes: gid110a07,public X-Google-Thread: 101278,f78ff5eb042fc232 X-Google-Attributes: gid101278,public X-Google-Thread: 105df1,f78ff5eb042fc232 X-Google-Attributes: gid105df1,public From: Andreas Arff <arf@ergosoft.no> Subject: Re: Background Animation Date: 1996/11/27 Message-ID: <329BFDB4.888@ergosoft.no> X-Deja-AN: 200995550 references: <01bbdbc8$729489e0$LocalHost@steve> <01bbdbdc$acc68500$6489c180@ecmtemp> content-type: text/plain; charset=us-ascii organization: Telenor Ergosoft mime-version: 1.0 reply-to: "arf@ergosoft.no;andarff"@online.no newsgroups: comp.os.ms-windows.programmer.graphics,comp.os.ms-windows.programmer.misc,fj.os.ms-windows.programming x-mailer: Mozilla 3.0Gold (WinNT; I)