Bonjour à tous,

Le code suivant marche en Visual 6.0 mais pas sous .NET 2008.


Code : Sélectionner tout - Visualiser dans une fenêtre à part
1
2
3
4
5
if (nCtlColor == CTLCOLOR_STATIC){
hbr = (HBRUSH) GetStockObject (HOLLOW_BRUSH) ;
pDC->SetBkMode (TRANSPARENT) ;
pDC->SetTextColor (RGB (255,255,255)) ;
}
Je tiens à preciser qu'il s'agit de Group box control

Avez-vous une idée ?

Merci d'avance