Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Determining the currently active window
Message
From
12/10/2001 13:27:18
 
 
To
12/10/2001 13:22:20
Cetin Basoz
Engineerica Inc.
Izmir, Turkey
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Miscellaneous
Thread ID:
00567748
Message ID:
00567796
Views:
19
Yes, those were the commands I referred to in my original message. The problem is that none of them will tell me the name of the currently active window.

All I want to do is this:

lcOldWindow = WACTIVE()
ACTIVATE WINDOW SCREEN
* Run some code
ACTIVATE WINDOW (lcOldWindow)

The problem is that "WACTIVE()" isn't a real command and I don't know what to put there. It just basic save and restore to put things back how I found them. I don't understand why it's such a hard thing to do. Is there no command that will tell me the name of the active window?

Thanks,

Michelle


>Sorry I couldn't get the scenario. woutput() returns output window and wontop() on top one. woutput() might be invisible so check with wvisible() (and probably wexist()).
>Cetin
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform