The Vfp2C32 FLL library that is part of the VFPx project has methods
that allow you to use the Windows API to retrieve VFP window sizes and
co-ords that don't involve the VFP container hierarchy and so on.

I used this recently in a project that incorporates screen recording for
troubleshooting purposes into a VFP application.

http://vfpx.codeplex.com/wikipage?title=VFP2C32

Along the following lines:

* -- Pass in the handle of the VFP window we're looking at and the name
of an 
* -- array that will be populated with the results.
GetWindowRectEx(This.oHeader.HWnd, "laResults")
lnAPILeft = laResults[1]
lnAPIRight = laResults[2]
lnAPITop = laResults[3]
lnAPIBottom = laResults[4]



_______________________________________________
Post Messages to: [email protected]
Subscription Maintenance: http://mail.leafe.com/mailman/listinfo/profox
OT-free version of this list: http://mail.leafe.com/mailman/listinfo/profoxtech
Searchable Archive: http://leafe.com/archives/search/profox
This message: 
http://leafe.com/archives/byMID/profox/1357554974.26207.140661174351937.2fc85...@webmail.messagingengine.com
** All postings, unless explicitly stated otherwise, are the opinions of the 
author, and do not constitute legal or medical advice. This statement is added 
to the messages for those lawyers who are too stupid to see the obvious.

Reply via email to