Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Is it possible to move non-rectanglular forms in vfp8 ?
Message
From
16/08/2003 01:23:23
 
 
To
15/08/2003 17:15:54
General information
Forum:
Visual FoxPro
Category:
Other
Miscellaneous
Thread ID:
00820668
Message ID:
00820706
Views:
31
Hrllo,

Yes, this is possible. Put this code in MouseDown() of your form of your form's baseclass:
DECLARE INTEGER GetFocus IN WIN32API
lnHandle = GetFocus()
param1 = 274
param2 = 0xF012
DECLARE INTEGER ReleaseCapture IN WIN32API
DECLARE INTEGER SendMessage IN WIN32API INTEGER, INTEGER, INTEGER, INTEGER
bb=ReleaseCapture()
bb=SendMessage(lnHandle, param1, param2,0)
Now you should be able to move the form dragging it by the body.

Hope this helps,

>is it possible to move non-rectanglular forms in vfp8 ?
Grigore Dolghin
Class Software.
Previous
Reply
Map
View

Click here to load this message in the networking platform