Click to See Complete Forum and Search --> : Painting a window


odin
April 12th, 1999, 04:21 PM
Hello,

I got a small problem, any help would be good :)
How do I repaint/redraw the OUTERLINE in a DialogBar, i.e. the borderline, I just want to change the color of the leftmost borderline and not the topline, bottomline or rightline :)

-- Henrik

Gomez Addams
April 12th, 1999, 04:28 PM
I would guess that this is in the NCPAINT or non-client drawing area.
There are samples on this site that illustrate how to do non-client are painting.
One is about drawing a gradient-shaded caption bar and might be helpful for this.

Oak
April 12th, 1999, 07:14 PM
try
GetWindowDC()


WBR Oak