From: Jacek S. <arn...@gm...> - 2007-11-08 19:04:24
|
Hm, pretty strange then...the old wtl code did it with brushes and pens so I wonder what's different...maybe some handle not being assigned correctly? /J poy wrote: > i've been trying to re-do the list view createArrows() code in a simpler > way; ie, simply draw a gray triangle and fill it. but i could never > manage to get any brush applied, so the only way i've found is to use > ::InvertRgn(), and the result is a black triangle. > yes it's quite ugly, best would have been to use ::PaintRgn() or > ::FillRgn() with the appropriate brushes. > > as i'm not sure which arrows are best (ugly previous ones, "too black" > new ones...), attached are screen shots. > > poy > > |