Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
SendMessage parameters
Message
From
02/07/2001 17:59:11
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Windows API functions
Title:
SendMessage parameters
Miscellaneous
Thread ID:
00526088
Message ID:
00526088
Views:
63
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.
Next
Reply
Map
View

Click here to load this message in the networking platform