Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
How to get form object's image handle?
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Gestionnaire d'écran & Écrans
Versions des environnements
Visual FoxPro:
VFP 9
OS:
Windows Server 2003
Network:
Windows 2003 Server
Database:
Visual FoxPro
Divers
Thread ID:
00982120
Message ID:
00982224
Vues:
31
Try Obj2BMP from download section.

>Not sure where to post this since it's Forms, Windows API, and ActiveX rolled into one, but here goes...
>
>I have an ActiveX control on a form that allows one to view an AutoCAD DWG file (specifically the Open Drawing Alliance DWGDirectX control) The user uses other navigation buttons on the form to zoom in/out/pan etc as needed to view the drawing. My dilemma is I need to somehow get this image as displayed in the control copied to a file as a BMP. The ActiveX control doesn't appear to have any property or method built in to do this (in fact the developers of the control tell me this functionality is yet to be implemented)
>Is there some method using GDI functions to get a handle to the ActiveX control on the form and work with it's contents as displayed?
>I'm envisioning somehow passing this control's image "handle" to a LeadTools ActiveX control which I routinely use for raster image processing (save as BMP, GIF, JPG, etc)
>
>Any version of VFP that will accomplish this task is ok with me!
>
>Thanks.
>
>-- Paul
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform