Find actual coordinates of a control within another control

Giganews Newsgroups
Subject: Find actual coordinates of a control within another control
Posted by:  David DB (er_fortsa…@hotmail.com)
Date: Tue, 24 Jun 2008

Hi,

How can we find the coordinates to to upper left corner of a control if that
control is put in another control, for example picture or frame. It can be
multiple levels.

I want to find the top and left coordinates I can use to open a new form at
the spot where the control who was clicked is. So it should return x and y
from the parent window perspective.

Comprende ?

David

Replies