salut a tous
bon je cherche a changer la couleur du fond et d'ecriture d'une label donc j'ai mis le code suivant:
*nb:letiquite ce trouve sur une autre dialog form
hInfo = CreateDialog(hInst,(LPCTSTR)IDD_DIALOG2,NULL,(DLGPROC)DlgInfo);
ShowWindow(hInfo,SW_SHOW);
HDC dcinfo=GetDC(GetDlgItem(hInfo,ID_LABEL));
SetBkMode(dcinfo,RGB(192,208,240));
SetTextColor(dcinfo,RGB(150,0,255)
le prob c que ca marche pas