Re: Move/resize dialog controls?
- From: "Igor Tandetnik" <itandetnik@xxxxxxxx>
- Date: Sat, 9 Aug 2008 14:48:11 -0400
"Norbert Unterberg" <nunterberg@xxxxxxxxxxxxxxxxx> wrote in message
news:%23A1SLik%23IHA.3656@xxxxxxxxxxxxxxxxxxxx
Vincent Fatica schrieb:
On Sat, 9 Aug 2008 12:17:41 -0400, "William DePalo [MVP VC++]"
<willd.no.spam@xxxxxxxx> wrote:
I'm surprised there's not a more direct way to get client
coordinates.
Maybe I am missing the point, but what's wrong with GetClientRect()?
GetClientRect always returns left == top == 0: it's a client rectangle
in that window's client coordinates. To get the window's position
relative to its parent, you'll have to follow up with MapWindowPoints
anyway.
--
With best wishes,
Igor Tandetnik
With sufficient thrust, pigs fly just fine. However, this is not
necessarily a good idea. It is hard to be sure where they are going to
land, and it could be dangerous sitting under them as they fly
overhead. -- RFC 1925
.
- References:
- Move/resize dialog controls?
- From: Vincent Fatica
- Re: Move/resize dialog controls?
- From: William DePalo [MVP VC++]
- Re: Move/resize dialog controls?
- From: Vincent Fatica
- Re: Move/resize dialog controls?
- From: Norbert Unterberg
- Move/resize dialog controls?
- Prev by Date: Re: Another C question!
- Next by Date: Question about .rc files
- Previous by thread: Re: Move/resize dialog controls?
- Next by thread: Re: Move/resize dialog controls?
- Index(es):
Relevant Pages
|