Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Minimized Top Level Form
Message
 
To
15/07/2004 11:22:36
Fred Wood
Madera Systems Consulting
Mill Valley, California, United States
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Miscellaneous
Thread ID:
00924085
Message ID:
00924711
Views:
22
>That does work in VFP, 8 but I am going to need to use WestWind wwIPSTUFF library with this form and I think that means I will have to be using VFP 6.

I'm not familiar with the West Wind library, but it seems odd that you'd have to use 6.0. If that's the case, however, load the Foxtools library and
lnhwnd = _WhToHwnd(_WFindTitl(oForm.Caption))
and use that variable to pass to SetForegroundWindow().

>I tried setting focus to an object on the form (ie. oform.cmdSelect.setfocus()) but that didn't work either. My approach must be all wrong here. I can't believe this should be so difficult.

I'd guess you're probably running under Win2K or above. I admit, there are some oddities with regard to windows focus that I don't completely understand.
George

Ubi caritas et amor, deus ibi est
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform