>I am trying to create an in-process server that has gui elements (a form for some data entry)
>
>I mark the form class OLE PUBLIC. The form displays but I cannot click on anything on the form. I have already read the KB article on using SetForeGroundWindow of WIN32 to set the focus - while this sets focus, events on the form do not fire: Click, etc.
>
>Any ideas?
What version VFP are you using? My understanding is that you should not have ANY UI with VFP5 Inprocess. I have read here where some people got it to work but not relibaly. I think I heard at Dev-Con, that MS tied VFP6 down so you can't have UI in 6. I have not tried in 6 so I maybe dreaming this part.
HTH
Jeff
It's Time to get a gun.
That's what I've been thinkin.
I think I can afford one, If I do a little less Drinkin.www.TrueGeeks.com