Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Picture object from stdole2.tlb
Message
De
26/03/2002 00:41:07
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Photos et traitement d'images
Divers
Thread ID:
00634339
Message ID:
00637110
Vues:
20
Alexandr ,

Could you please elaborate more on hDC from Printer common dialog

I tried

loComDlg = CreateObj("MSComDlg.CommonDialog")
handle = loComDlg.ShowPrinter()

it returns .null.
Is there any other way to get hdc without dialog ?

Thanks
Michael


>StdPicture has a Render method. For instance, you can get an hDC of a printer from a Printer common dialog and print image using Render method. If you need to display image of form, then you can use one of ActiveX controls (ListView control with Picture property, for example). BTW a LOADPICTURE() in VFP also returns StdPicture object.
>
>>I am using Activex which returns StdPicture Object ( type library stdole2.tlb).
>>Is there way in VFP to render this image on a screen or print it out ?
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform