Digital Workshop

Welcome to the Digital Workshop Message Boards
It is currently January 10th, 2025, 2:27 pm

All times are UTC [ DST ]




Post new topic Reply to topic  [ 1 post ] 
Author Message
 Post subject: Window position
PostPosted: August 20th, 2006, 12:40 pm 
Offline

Joined: November 25th, 2004, 1:24 pm
Posts: 512
Location: Scotland
Opus: 9.75
OS: Win 10
System: Asus i7-7700K 16Gb
How do I find the position of a window on the screen?
I have a screen 1024X768 and a publication window running at 800X600, which can be moved about the screen. I want to find the position of the window relative to the screen. I can get the screen size from system variables and I can see how to find the position of an object within the window by using GetDisplayData() for example, but that only seems to work for objects on the page.
I want to use dynamic mapping of an object so I know the objects position relative to the screen, not the window.
I'm sure there must be a 'easy' way of doing it?

_________________
Whoever designed this, never actually used it!


Top
 Profile  
 
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 1 post ] 

All times are UTC [ DST ]


Who is online

Users browsing this forum: No registered users and 67 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
cron
Powered by phpBB © 2000, 2002, 2005, 2007 phpBB Group