Hai there i have created a dialog box , in that i am drawing some lines , i want the lines color same as background color and line width should be more than the default setting width ,

in OnPaint()

{


dc.MoveTo(0,0);

dc.LineTo(200,200);

}

this code works fine drwing line but inh black color , i want it to be by the same background color , and little bit width more

can anyone help me?\

thanx in advance

asha