Hi,

I am using the following code to draw 2 line on a window (one above the
other).

    $Window->BeginPaint();
    $Window->MoveTo(0, 5);
    $Window->LineTo(200, 5);
    $Window->MoveTo(0, 7);
    $Window->LineTo(200, 7);
    $Window->EndPaint();

Can anyone please tell me how I can change the colors of the lines (e.g. the
top line grey and the bottom line white).
Is this the best method for drawing simple lines on a window.

Thanks and All the best,
Ken



Reply via email to