Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
How to create a VFP Form that does not activate
Message
 
To
08/04/2007 19:12:16
Goran Zidar
National Australia Bank
Melbourne, Australia
General information
Forum:
Visual FoxPro
Category:
Forms & Form designer
Environment versions
Visual FoxPro:
VFP 9
OS:
Windows XP SP2
Network:
Windows 2000 Server
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01213323
Message ID:
01213363
Views:
17
If you create a form using createobject() but never show it would that do? It is not clear what the purpose of your form is. Or use the _screen if you need to add properties or methods.

>Hello all
>
>Does anyone have a way to create a VFP form that does not activate; more specifically does not take focus away from the currently active form. The VFP toolbar behaves in this way but it is simply not flexible enough for my needs (eg, a toolbar cannot be placed outside the VFP screen or a top level form).
>
>Alternatively has anyone managed to create a form using CreateWindowEx() to achieve this as there is an extended style defined by WS_EX_NOACTIVATE that is supposed to make this happen but from my simple tests this still seems to remove focus from other VFP forms.
>
>Thanks in advance and I look forward to hearing from you.
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform