Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Transparent Rectangle
Message
 
À
06/06/2003 16:34:58
Information générale
Forum:
Visual C++
Catégorie:
Autre
Divers
Thread ID:
00795934
Message ID:
00797517
Vues:
17
>CBrush* oldBrush = dc.SelectStockObject(NULL_BRUSH);
>
>i got this error message when compiling
>
>Cannot conver CGdiObject to CBrush

Ok, change it to
CGdiObject* oldBrush = dc.SelectStockObject(NULL_BRUSH);
or
CBrush* oldBrush = (CBrush*)dc.SelectStockObject(NULL_BRUSH);
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform