Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Is this a bug?
Message
De
20/04/2001 15:26:53
Jonathan Cochran
Alion Science and Technology
Maryland, États-Unis
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Titre:
Divers
Thread ID:
00498021
Message ID:
00498092
Vues:
18
OK, I'm not lying :)

Here's the excerpt from the help for WVISIBLE() (VFP 6, SP3):
Arguments

WindowName

Specifies the name of the window WVISIBLE( ) evaluates.
In Visual FoxPro, you can also specify the name of a toolbar.
You can also include the empty string in WindowName to specify the main Visual FoxPro window.
>>I was looking for that reference and read right over it without seeing it. I'm getting too old or it's time for a new prescription (and it's not that I'm too old). ;-)
>
>I don't even see that now!.
>
>There is an explanation, however, and I don't think it relates to necessarily to the VFP main window.
>
>As you probably, Larry, VFP internally manages it's windows via what's referred to as a whandle. It's like a window handle. The foxtools library, in fact, includes a function (_WhTohWnd()) to translate these values.
>
>Now when you pass a window name, "Command" for example, to WVISIBLE(), if the command window is visible, you get .T. It also has a whandle that can be returned via _WFindTitl().
>
>Here's the deal. _WFindTitl() returns a whandle that is different from the main VFP window's when a "" is passed.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform