Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Picture object from stdole2.tlb
Message
From
26/03/2002 00:41:07
 
General information
Forum:
Visual FoxPro
Category:
Pictures and Image processing
Miscellaneous
Thread ID:
00634339
Message ID:
00637110
Views:
19
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 ?
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform