Hi,
I want to draw a hatched brush but leave the background unchanged.
I tried :
CBrush m_HatchBrush(HS_BDIAGONAL,RGB(255, 0, 0));
p_DC->SelectObject(&m_HatchBrush);
p_DC->SetBkMode(TRANSPARENT);
p_DC->FillRect(m_DepartureRect, &m_HatchBrush);
It draws the hatched square but the background is not showing it is always white. How do i get it to draw only the diagonal hatch lines and leave the rest blue (which is the background color of a chessboard square)