[comp.windows.ms] using colors in windows

kipnis@janus.Berkeley.EDU (Gary Kipnis) (12/01/89)

Hi, 

When setting any nonwhite background to window, it seems that the last line
'flickers' when I scroll the window, as if the area outside the window
border is white instead of the color that I set the background to.

any suggestions to how to eliminate this 'flickering'?

Thank you,

gary

meyer@s.cs.uiuc.edu (12/06/89)

/* Written  2:04 am  Dec  1, 1989 by kipnis@janus.Berkeley.EDU in s.cs.uiuc.edu:comp.windows.ms */

When setting any nonwhite background to window, it seems that the last line
'flickers' when I scroll the window, as if the area outside the window
...
/* End of text from s.cs.uiuc.edu:comp.windows.ms */

If you are manually setting the backgound color during your screen redraws, then
what is probably happening is that the window background was registered with 
a white brush when the Window Class was originally registered.  Check this,
changing it to a brush of the desired color should end your white flicker.

Don
dlmeyer@uiuc.edu