Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Messagebox is not shown
Message
Information générale
Forum:
Visual FoxPro
Catégorie:
Codage, syntaxe et commandes
Versions des environnements
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP SP2
Divers
Thread ID:
00980856
Message ID:
00981157
Vues:
44
This message has been marked as a message which has helped to the initial question of the thread.
Hi Nadya,

I'm not sure if this would answer your question, though try this code. The API MessageBox is very much disconnected from internal FoxPro settings. This code can be called in FoxPro COM Automation Servers:
PROTECTED PROCEDURE MsgBox(eMessageText)
#DEFINE MB_TOPMOST 0x40000
#DEFINE MB_ICONINFORMATION 64

	DECLARE INTEGER GetDesktopWindow IN user32
	DECLARE INTEGER MessageBox IN user32;
	As MsgBox;
		INTEGER hParent, STRING lpText,;
		STRING lpCaption, INTEGER wType
	
	LOCAL hDesktop, nDialogBoxType, cTitleBarText
	hDesktop = GetDesktopWindow()
	nDialogBoxType = BITOR(MB_ICONINFORMATION,;
		MB_TOPMOST)
	cTitleBarText = VERSION()

	= MsgBox(m.hDesktop, m.eMessageText,;
		m.cTitleBarText, m.nDialogBoxType)
Précédent
Répondre
Fil
Voir

Click here to load this message in the networking platform