// Reset the device origin since it may have been set
dc.SetDeviceOrigin(0, 0);
// Reset the device origin since it may have been set
dc.SetDeviceOrigin(0, 0);
{
cy = itemRect.GetBottom();
dc.DrawLine(0, cy, clientSize.x, cy);
{
cy = itemRect.GetBottom();
dc.DrawLine(0, cy, clientSize.x, cy);