Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Multiple Monitors and Messagebox
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 9 SP2
OS:
Windows XP SP2
Divers
Thread ID:
01465284
Message ID:
01465320
Vues:
98
I agree with Tore, adjusting video settings may help.

* * *
Try using API MessageBox call instead of VFP MESSAGEBOX function.
http://www.news2news.com/vfp/?function=73
DECLARE INTEGER MessageBox IN user32 As MessageBoxA;
    INTEGER hwnd,;
    STRING lpText,;
    STRING lpCaption,;
    INTEGER wType
First input parameter is a handle to the owner window (0 means no owner). Pass with this parameter a handle to active form (ThisForm.HWnd), or a handle to VFP main window (_screen.HWnd), or app window (_vfp.HWnd). This may resolve the issue.

* * *
Another option is here -- Extended MessageBox Library (FLL) for Visual FoxPro
http://www.news2news.com/vfp/?solution=3

This FLL allows to keep calls to the regular MESSAGEBOX unchanged, while adding access to many extended features. That includes positioning of the MessageBox dialog window (desktop-absolute, or aligned to active monitor's border), choosing fonts, backgrounds, icons, button captions, displaying additional controls and more.

Fully-functional demo version of the Extended MessageBox FLL is available on the web page.
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform