Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to get form object's image handle?
Message
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Title:
How to get form object's image handle?
Environment versions
Visual FoxPro:
VFP 9
OS:
Windows Server 2003
Network:
Windows 2003 Server
Database:
Visual FoxPro
Miscellaneous
Thread ID:
00982120
Message ID:
00982120
Views:
51
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
Next
Reply
Map
View

Click here to load this message in the networking platform