General information
Category:
Forms & Form designer
In addition to solution which Sergey point you to, for all VFP versions including 7 you can add:
DECLARE INTEGER GetActiveWindow IN WIN32API,
and use:
SendMessage(GetActiveWindow(), 0x112, 0xF012, 0x0) to address the Window Handle the very same way.
>Hi All,
>
>Here's an odd one... I have a form in which I turn off the title bar and set the BorderStyle to 0-None. I now want to be able to drag/move this form by using the mouse just as if it had a title bar. I tried some routines using the MouseDown & MouseMove events of the form but got some very quirky results. The form seemed to jump back and forth.
>
>Anyone have a good idea?
>
>Thanks!
Previous
Reply
View the map of this thread
View the map of this thread starting from this message only
View all messages of this thread
View all messages of this thread starting from this message only