PC Review


Reply
Thread Tools Rate Thread

Control Co-ordinates

 
 
Frank H
Guest
Posts: n/a
 
      23rd Sep 2003
Can anybody assist ?

How can I find out the current x y cordinates of any
control on a screen ?

TIA

Frank H
 
Reply With Quote
 
 
 
 
Larry Linson
Guest
Posts: n/a
 
      23rd Sep 2003
The Top and Left Properties locate the Control within the Access Window. I
fear some API calls (just which I don't know) would be required to get the
Top/Left coordinates of the Access window itself. The Top/Left properties,
accessed from code, are in "twips", or 1/1440 th of an inch. That's
complicated by the fact that it is a "Windows inch" which may or may not be
an actual inch on the display tube.

Larry Linson
Microsoft Access MVP


"Frank H" <(E-Mail Removed)> wrote in message
news:0bcf01c38179$f8a69b00$(E-Mail Removed)...
> Can anybody assist ?
>
> How can I find out the current x y cordinates of any
> control on a screen ?
>
> TIA
>
> Frank H



 
Reply With Quote
 
Frank H
Guest
Posts: n/a
 
      23rd Sep 2003
Thanks for the response Larry,

It's the fact that the access window could be anywhere
that's got me stumped, don't know too much about API calls.
We'll just keep looking

Rgds

Frank H
>-----Original Message-----
>The Top and Left Properties locate the Control within the

Access Window. I
>fear some API calls (just which I don't know) would be

required to get the
>Top/Left coordinates of the Access window itself. The

Top/Left properties,
>accessed from code, are in "twips", or 1/1440 th of an

inch. That's
>complicated by the fact that it is a "Windows inch" which

may or may not be
>an actual inch on the display tube.
>
> Larry Linson
> Microsoft Access MVP
>
>
>"Frank H" <(E-Mail Removed)> wrote in message
>news:0bcf01c38179$f8a69b00$(E-Mail Removed)...
>> Can anybody assist ?
>>
>> How can I find out the current x y cordinates of any
>> control on a screen ?
>>
>> TIA
>>
>> Frank H

>
>
>.
>

 
Reply With Quote
 
Alex Dybenko
Guest
Posts: n/a
 
      23rd Sep 2003
you can find API calls in these articles
http://support.microsoft.com/default...62&Product=acc
http://support.microsoft.com/default...41&Product=acc

--
Alex Dybenko (MVP)
http://Alex.Dybenko.com


"Frank H" <(E-Mail Removed)> wrote in message
news:01a801c3818f$32dfa590$(E-Mail Removed)...
> Thanks for the response Larry,
>
> It's the fact that the access window could be anywhere
> that's got me stumped, don't know too much about API calls.
> We'll just keep looking
>
> Rgds
>
> Frank H
> >-----Original Message-----
> >The Top and Left Properties locate the Control within the

> Access Window. I
> >fear some API calls (just which I don't know) would be

> required to get the
> >Top/Left coordinates of the Access window itself. The

> Top/Left properties,
> >accessed from code, are in "twips", or 1/1440 th of an

> inch. That's
> >complicated by the fact that it is a "Windows inch" which

> may or may not be
> >an actual inch on the display tube.
> >
> > Larry Linson
> > Microsoft Access MVP
> >
> >
> >"Frank H" <(E-Mail Removed)> wrote in message
> >news:0bcf01c38179$f8a69b00$(E-Mail Removed)...
> >> Can anybody assist ?
> >>
> >> How can I find out the current x y cordinates of any
> >> control on a screen ?
> >>
> >> TIA
> >>
> >> Frank H

> >
> >
> >.
> >



 
Reply With Quote
 
Frank H
Guest
Posts: n/a
 
      23rd Sep 2003
Thanks Alex

>-----Original Message-----
>you can find API calls in these articles
>http://support.microsoft.com/default.aspx?scid=kb;en-

us;143162&Product=acc
>http://support.microsoft.com/default.aspx?scid=kb;en-

us;210141&Product=acc
>
>--
>Alex Dybenko (MVP)
>http://Alex.Dybenko.com
>
>
>"Frank H" <(E-Mail Removed)> wrote in message
>news:01a801c3818f$32dfa590$(E-Mail Removed)...
>> Thanks for the response Larry,
>>
>> It's the fact that the access window could be anywhere
>> that's got me stumped, don't know too much about API

calls.
>> We'll just keep looking
>>
>> Rgds
>>
>> Frank H
>> >-----Original Message-----
>> >The Top and Left Properties locate the Control within

the
>> Access Window. I
>> >fear some API calls (just which I don't know) would be

>> required to get the
>> >Top/Left coordinates of the Access window itself. The

>> Top/Left properties,
>> >accessed from code, are in "twips", or 1/1440 th of an

>> inch. That's
>> >complicated by the fact that it is a "Windows inch"

which
>> may or may not be
>> >an actual inch on the display tube.
>> >
>> > Larry Linson
>> > Microsoft Access MVP
>> >
>> >
>> >"Frank H" <(E-Mail Removed)> wrote in message
>> >news:0bcf01c38179$f8a69b00$(E-Mail Removed)...
>> >> Can anybody assist ?
>> >>
>> >> How can I find out the current x y cordinates of any
>> >> control on a screen ?
>> >>
>> >> TIA
>> >>
>> >> Frank H
>> >
>> >
>> >.
>> >

>
>
>.
>

 
Reply With Quote
 
 
 
Reply

Thread Tools
Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
X-Y co-ordinates twin peaks Microsoft Excel Setup 0 15th Dec 2009 06:38 PM
Using Row 1 and column 1 as co-ordinates. Cap'n Jax Microsoft Access 5 31st Jul 2008 08:39 AM
Co-ordinates mahadevan.swamy@gmail.com Microsoft Excel Misc 20 20th Apr 2007 04:37 AM
read co-ordinates =?Utf-8?B?Q2lhcmE=?= Microsoft Excel Charting 1 5th Jul 2005 06:33 PM
Screen co-ordinates Rog Microsoft Excel Programming 0 15th Oct 2003 01:10 PM


Features
 

Advertising
 

Newsgroups
 


All times are GMT +1. The time now is 07:30 AM.