Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Deactivate Messagebox
Message
 
 
To
06/02/2002 10:16:01
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00616028
Message ID:
00616040
Views:
19
>Hi all, one of my programs has the facility to lock the screen after a predefined time of inactivity, then the user have to input his password to unlock the screen and continue working exactly where the program was stop when the screen was locked. Another choice is to close and exit the application. For this to happen I close all the possible activate windows and toolbars by using the command “Clear Windows”. This is OK. The problem comes when the main screen is locked while a messagebox is waiting for a response, then the command “Clear Windows” appears not to have any effect.
>What am I doing wrong? Do I need to create my own ‘Messagebox’? Is there any API I can use?
>
>Please help… Thank you.

Paco,
In VFP 7, there is a new timeout feature of the messagebox function. Otherwise you have to create your own messagebox function using a form. Check out Steven Black's website (www.stevenblack.com) for his MsgSvc utility. This has that type of functionality and I believe that piece of the INTL toolkit is public domain.

HTH.
Larry Miller
MCSD
LWMiller3@verizon.net

Accumulate learning by study, understand what you learn by questioning. -- Mingjiao
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform