🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: borland.public.cppbuilder.nativeapi
Article #4020

How to get a window's coordinates?

#4020
From: Helmut Giese
Date: Mon, 03 Apr 2006 22:06
9 lines
1010 bytes
Hello out there,
having been away from Windows GUI development for a rather long time
it seems like I forgot most of the few things I used to know. :(

Given a window's HWND, how do I obtain its current
position/coordinates on the screen?
Any information will be greatly appreciated.
Best regards
Helmut Giese
Technical Details
Message-ID: <44319b6a.32745546@forums.borland.com>
Path: arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!news.glorb.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail

Show Full Headers
Complete Article Headers
X-Google-Thread: 10cc67,4578913d357812e3,start
X-Google-Attributes: gid10cc67,public
X-Google-Language: ENGLISH,ASCII-7-bit
From: hgiese@ratiosoft.com (Helmut Giese)
Newsgroups: borland.public.cppbuilder.nativeapi
Subject: How to get a window's coordinates?
Date: Mon, 03 Apr 2006 22:06:27 GMT
Message-ID: <44319b6a.32745546@forums.borland.com>
X-Newsreader: Forte Free Agent 1.21/32.243
NNTP-Posting-Host: 141.51.159.134
X-Trace: newsgroups.borland.com 1144101880 141.51.159.134 (3 Apr 2006 15:04:40 -0700)
Lines: 9
Path: arc1-ca.pugleaf.net!g2news1.google.com!news4.google.com!news.glorb.com!newsfeed00.sul.t-online.de!newsfeed01.sul.t-online.de!t-online.de!newsgroups.borland.com!not-for-mail