Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Convert Icon to Bitmap
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Fonctions Windows API
Versions des environnements
Visual FoxPro:
VFP 8 SP1
Divers
Thread ID:
01046527
Message ID:
01046687
Vues:
22
>
>>
>> ....
>>
>> lh_DC = GetDC( HWND_DESKTOP )
>>
>> ** Create compatible DC & Bitmap for the destination
>> lh_DestDC = CreateCompatibleDC( lh_DC )
>> ...
>>
>
>
>I do need to destroy the DC's when I'm done? Do I remember this correct? .... I'll see what I can make and will present the result anyway. Don't want to end up with a memory leak ... I do need DestroyIcon() too, I Remember.

Right. Reset back all DC seting (the one with lh_Old... ). Destroy all GDI object, the DC. Anything involve with GDI.
Herman
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform