Absolute position (Left, Top) of a control in the screen

Ronaldo Nogueira <[email protected]> Thu, 2 May 2002 18:27:44 -0300
Newsgroups gmane.comp.windows.devel.vbcom
Message-ID <[email protected]>
Hi,

The left and top properties of a control give its relative position
regarding its container, whose left and top properties give its relative
position, and so on. Can anybody help me on how to obtain the absolute left
and top properties of a control regarding the screen? I need it to position
a modal form based on the coordinates of the caller control.

Thanks in advance

Regards,

Ronaldo

You can read messages from the VBCOM archive, unsubscribe from VBCOM, or
subscribe to other DevelopMentor lists at http://discuss.develop.com.