Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
BindEvent, DisplayOrientation
Message
 
À
11/10/2018 22:22:43
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 9 SP2
Application:
Desktop
Divers
Thread ID:
01662559
Message ID:
01662568
Vues:
52
>Hello all,
>
>My form needs to adjust it's position based on the _screen.DisplayOrientation. It has do so for users using a tablet.
>
>The sad thing is that it looks like there are no alternatives to using TopLevel forms (ShowWindow=2)
>
>Looks like I'll have to learn to manage those top level forms with ShowWindow, HideWindow and the others. Unless someone can tell me how this binding could work with ShowWindow in screen instead of top level.


https://msdn.microsoft.com/en-us/library/ms812142.aspx
check VB 6.0 examples, you can translate them easily to VFP.
Use BINDEVENT to WM_DISPLAYCHANGE and handle it :-)
Against Stupidity the Gods themselves Contend in Vain - Johann Christoph Friedrich von Schiller
The only thing normal about database guys is their tables.
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform