Home All Groups Group Topic Archive Search About

How to trap a mouse move event of a form ?

Author
3 Jun 2005 12:04 PM
Peri
Dear All,

I am designing an visual basic application with two forms. What I need to do
is: If I move one form the other form should also move automatically with
the frist form.

Can anyone suggest me on how do implement this ?

Thanks and Regards,

Peri

Author
3 Jun 2005 1:16 PM
Jeff Johnson [MVP: VB]
"Peri" <lp***@CSPL.com> wrote in message
news:OkjhfRDaFHA.3528@TK2MSFTNGP09.phx.gbl...

> I am designing an visual basic application with two forms. What I need to
> do
> is: If I move one form the other form should also move automatically with
> the frist form.
>
> Can anyone suggest me on how do implement this ?

Search this group for a recent thread on "sticky windows".
Author
4 Jun 2005 12:08 AM
Karl E. Peterson
Peri wrote:
> Dear All,
>
> I am designing an visual basic application with two forms. What I
> need to do is: If I move one form the other form should also move
> automatically with the frist form.
>
> Can anyone suggest me on how do implement this ?

http://vb.mvps.org/samples/FormPair
--
Working Without a .NET?
http://classicvb.org/petition
Author
4 Jun 2005 3:24 AM
Peri
It works ! Thanks a lot.

Show quoteHide quote
"Karl E. Peterson" <k***@mvps.org> wrote in message
news:eRmF7lJaFHA.2664@TK2MSFTNGP15.phx.gbl...
> Peri wrote:
> > Dear All,
> >
> > I am designing an visual basic application with two forms. What I
> > need to do is: If I move one form the other form should also move
> > automatically with the frist form.
> >
> > Can anyone suggest me on how do implement this ?
>
> http://vb.mvps.org/samples/FormPair
> --
> Working Without a .NET?
> http://classicvb.org/petition
>
>