Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
At coordinates of WAIT message?
Message
De
05/04/2007 03:09:09
 
 
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Versions des environnements
Visual FoxPro:
VFP 9 SP1
Divers
Thread ID:
01212252
Message ID:
01212350
Vues:
14
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
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform