Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
SendMessage parameters
Message
De
02/07/2001 17:59:11
 
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Fonctions Windows API
Titre:
SendMessage parameters
Divers
Thread ID:
00526088
Message ID:
00526088
Vues:
64
Hello, All.

I have in my base form class the following code in MouseDown() method:
IF nButton = 1 AND oApp.EasyMove
*!*	Obtin handle-ul ferestrei pe care am facut click, dar numai in cazul
*!*	in care utilizatorul si-a activat aceasta facilitate.
	DECLARE INTEGER GetFocus IN WIN32API
	lnHandle = GetFocus()
	param1 = 274
	param2 = -4078
	DECLARE INTEGER ReleaseCapture IN WIN32API
	DECLARE INTEGER SendMessage IN WIN32API INTEGER, INTEGER, INTEGER, INTEGER
	bb=ReleaseCapture()
	bb=SendMessage(lnHandle, param1, param2,0)
ENDIF
This code enables an "easy-move" feature for forms. If oApp.EasyMove is .T., then the form can be moved by clicking anywhere on the form's body.

I have one big problem whith this. It doesn't work under WinNT family. Can anyone enlighten what are the correct parameters for WinNT? Or, at least, where to search for info?

Thank you very much
Grigore Dolghin
Class Software.
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform