General information
Category:
Forms & Form designer
Title:
How to get form object's image handle?
Environment versions
Network:
Windows 2003 Server
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
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only