Article ID: 196373
Article Last Modified on 10/15/2002
// Width is 5 so edges will not touch rectclient.
SelectObject(hdc, CreatePen(0,5,RGB(255,0,0)));
SetRop2(hdc, <any ROP2 code except R2_COPYPEN>);
Rectangle(hdc, rectclient.left - 10, rectclient.top - 10,
rectclient.right + 10, rectclient.botom + 10);
RESULT: The call to Rectangle returns TRUE, but it does not draw anything.
Keywords: kbbug kbapi kbgdi KB196373