How to get form's desktop screen location

D

Dean Slindee

I have a child form painted within a parent form. I would like to get the
X,Y location of the child form on the desktop, but when I use the following
statements, .Location returns 0,0.

Dim ptChildForm As New Point

ptChildForm = Me.Location



Thanks in advance,

Dean S
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top