hey i have a slight anoyance at present im trying to fill a Device Context with a RGB value say RGB(VAR1,VAR2,VAR3); im using the API call FillRect(hDC,RECT,HBRUSH); but i need either:
1) a way of obtaining a valid hbrushy value for a RGB value
or
2) a function that fills a hdc with an rgb value
Any help would be great thanx