Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Lock desktop from vfp
Message
General information
Forum:
Visual FoxPro
Category:
Windows API functions
Environment versions
Visual FoxPro:
VFP 9
OS:
Windows XP SP2
Database:
Visual FoxPro
Miscellaneous
Thread ID:
01061897
Message ID:
01062267
Views:
16
You may consider using API calls to switch to another desktop and start your application there.

The following items become unavailable or dysfunctional when switched to a secondary desktop:
- Windows Taskbar and Start Menu
- Task Manager
- CTRL+ALT+DEL
- ALT+TAB
- CTRL+ESC
- both Windows keys
- right click on the Windows Desktop
- all icons on the desktop

Desktop API functions to be called:
CloseDesktop
CreateDesktop
GetThreadDesktop
OpenInputDesktop
SetThreadDesktop
SwitchDesktop

There is a code sample with some comments on my web site (members area):

How to prevent users from accessing the Windows Desktop and from switching to other applications
http://www.news2news.com/vfp/?example=492
Previous
Reply
Map
View

Click here to load this message in the networking platform