Welcome, Guest. Please login or register.

Author Topic: How can I obtain the co-ordinates of a window?  (Read 1223 times)

Description:

0 Members and 1 Guest are viewing this topic.

Offline zurtTopic starter

  • Full Member
  • ***
  • Join Date: Feb 2002
  • Posts: 114
  • Country: kp
    • Show only replies by zurt
How can I obtain the co-ordinates of a window?
« on: February 23, 2009, 08:19:07 PM »
I know how to set window's co-ordinates using MoveWindow(). But, how can I read where is the window located?

Thanks in avance.
zurt

AmigaOS user since 1989
MorphOS user since 2003
 

Offline Piru

  • \' union select name,pwd--
  • Hero Member
  • *****
  • Join Date: Aug 2002
  • Posts: 6946
    • Show only replies by Piru
    • http://www.iki.fi/sintonen/
Re: How can I obtain the co-ordinates of a window?
« Reply #1 on: February 23, 2009, 08:43:07 PM »
struct Window LeftEdge and TopEdge.
 

Offline zurtTopic starter

  • Full Member
  • ***
  • Join Date: Feb 2002
  • Posts: 114
  • Country: kp
    • Show only replies by zurt
Re: How can I obtain the co-ordinates of a window?
« Reply #2 on: February 23, 2009, 09:36:24 PM »
Thank you very much.
zurt

AmigaOS user since 1989
MorphOS user since 2003