I'm revisiting a problem that stumped me years ago.
I'd like to automate the sharing of project files within the VFP IDE through
VSS Automation, and everything's good to go except for the VSS "add file to
source control" dialog - I'm hoping I might be able to use some of the new
functionality VFP9 to get past this.
Here are some options AFAIK:
VSS's IVSSEventHandler interface - but would have to write a separate DLL.
BindEvent() - to trap windows messages and perhaps get a reference to the
dialog window.
EventHandler() - but so far, I don't have a COM object to attach to.
I think I need to get a reference to the dialog window's hWnd and do
something like a SendKeys or a SendMessage, but the VSS automation doesn't
seem to expose any objects I can grab a hold of.. Would appreciate all
suggestions.
Thanks.
--
William Fields
Code Contortionist
MCSD - Microsoft Visual FoxPro
US Bankruptcy Court
Phoenix, AZ
".dll hell - .rpm hell - whatever.
The grass is always greener"