Sorry,

Yes, I use this code to show my background :


Code:
class CMyDialog:
	public CDialog
{
private:
	CBitmap m_Background;	
	int m_iWidth, m_iHeight;

.........
}



CMyDialog::CMyDialog(UINT nIDTemplate, CWnd* pParentWnd, UINT iIDD_Background)
{
	m_Background.LoadBitmap(iIDD_Background);	// lecture bitmap dans les ressources
	BITMAP InfosBackground;
	m_Background.GetBitmap(&InfosBackground);	// structure d'informations.
	m_iWidth  = InfosBackground.bmWidth;
	m_iHeight = InfosBackground.bmHeight;

	CDialog::CDialog(nIDTemplate, pParentWnd);
}



BOOL CMyDialog::OnEraseBkgnd(CDC* pDC)
{	
    CDC MemDC;
	
	// creation d'un DC en memoire
    MemDC.CreateCompatibleDC(pDC);	

	// selection du bitmap dans le DC en memoire
    MemDC.SelectObject(&m_Background);	
    
	// transfert final du bitmap dans le dc de la view.
	pDC->BitBlt( 0,0,m_iWidth, m_iHeight, &MemDC, 0, 0, SRCCOPY); 

	return TRUE;
}