Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
At coordinates of WAIT message?
Message
From
05/04/2007 03:09:09
 
General information
Forum:
Visual FoxPro
Category:
Other
Environment versions
Visual FoxPro:
VFP 9 SP1
Miscellaneous
Thread ID:
01212252
Message ID:
01212350
Views:
13
This message has been marked as a message which has helped to the initial question of the thread.
>Is it possible to determine the position of top left corner of a window to use in AT coordinates of a WAIT message. Basically I am trying to figure out how to manipulate the coordinates to position WAIT message more accurately.
>
>Thank you.

Dmitry,

I use this to show a wait window at the mouse pointer
If the mouse is outside the screen (eg in the taskbar) then it shows as if it were done without coordinates
function WaitWindowAtMouse(msg)

	if( !empty(m.msg) )
		wait window nowait at mRow(_screen.name), mCol(_screen.name) m.msg
	else
		wait clear
	endif
endfunc
Gregory
Previous
Next
Reply
Map
View

Click here to load this message in the networking platform