Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Messagebox is not shown
Message
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 8 SP1
OS:
Windows XP SP2
Miscellaneous
Thread ID:
00980856
Message ID:
00981157
Views:
50
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)
Previous
Reply
Map
View

Click here to load this message in the networking platform