[mfc] OnEraseBkgnd et CEdit
Bonjour,
Je voudrais "skiner" ma dialog, j'ai donc utilisé SetWindowRgn() et OnEraseBkgnd()... Ca marche mais les ctrl de type CEdit sont maintenant
comme transparents et ne sont plus rafraichis lors de backspace.
Citation:
BOOL CMyDlg::OnEraseBkgnd(CDC* pDC)
{
pDC->BitBlt(m_pt.x, m_pt.y, m_size.cx, m_size.cy,&m_dcMem, 0, 0, SRCCOPY);
return CDialog::OnEraseBkgnd(pDC);
}
Comment obtenir un ctrl CEdit avec un fond blanc et qui se repaint correctement ? (son comportement normal en somme)
Merci !