Re: Move/resize dialog controls?



"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


.



Relevant Pages

  • RE: Add a server to SBS R2 using ConnectComputer
    ... Please note that I get the same error when I try to connect a client pc ... server in the SBS network, ... Let's try following steps to see if we can add the computer to SBS network ... It looks like from a previous thread I may be missing some. ...
    (microsoft.public.windows.server.sbs)
  • Re: Strategic Functional Migration and Multiple Inheritance
    ... In his spare time, which unfortunately went missing ... objects that comprise business systems, and are all abstract - they deploy ... So I have an AJAX client and a Winforms client to ... what you're missing. ...
    (microsoft.public.dotnet.languages.csharp)
  • Re: Posted in OL, Try for suggestions/comments here.
    ... Because this is a "linked table" from Outlook, ... characters) unique to each client. ... missing some indexes on important fields that are used in relationships. ... Sylvain Lafontaine, ing. ...
    (microsoft.public.access.tablesdbdesign)
  • Re: Thinking of Access/jet to SQLServer or MySQL
    ... a sentence was missing in my previous post: ... SQL-Server and MySQL because you will use linked tables. ... >> which makes our application extremely cost effective for the client. ...
    (microsoft.public.access.adp.sqlserver)
  • Re: Network slow after Domain join
    ... The keys that was missing was: ... If i uninstall "client for microsoft network" it also boots fast.. ... powersave option. ...
    (microsoft.public.windowsxp.network_web)