Re: Redraw Issue
- Posted by Derek Parnell <ddparnell at bigpond.com> Aug 03, 2001
- 514 views
All one has to do is avoid using CS_HREDRAW and CS_VREDRAW style flags when creating a window. For those of us using Win32Lib.ew, you will find the line ... vWindowClassStyle = {CS_HREDRAW, CS_VREDRAW } replace this with ... vWindowClassStyle = {0} and the flickering disappears. If you want the double clicks to register for a Window you can use ... vWindowClassStyle = {CS_DBLCLKS} Does this answer your concerns? Future versions of Win32Lib will not have these as default. ---- Derek. ----- Original Message ----- From: <cklester at yahoo.com> To: "EUforum" <EUforum at topica.com> Sent: Saturday, August 04, 2001 2:40 PM Subject: RE: Redraw Issue > > > The TBAR.EXW program flickers when the window is resized. The effect is > > quite pronounced. I'm using a Intel P3 550mHz with 256RAM, nVidia > > TNT2 Vanta > > video card, and Windows ME. > > > > I replaced the line ... > > > > OR({CS_HREDRAW,CS_VREDRAW}), -- style > > > > with > > 0, -- style > > > > and the flicker disappeared. Except that when resizing horizontally, the > > toolbar's border still flickers. > > It's not just Bernie's program, either. Mike's editor flickers, and most > every other EUPHORIA for Windows program I've seen flickers. All the > Win32Lib examples flicker a LITTLE bit, but that's just because there are > only a very few items in the client area. (Is this the right use of > "client," to mean whatever is within the window's borders?) > > But, when I resize this Outlook mail compose window, it doesn't flicker at > all. > > Weird!!! > > I'm sure it's something simple and once we- I mean you guys- figure it out, > we'll not have flickering windows anymore. :) > > -ck > > > > >