Thread: client area topleft point relative to screen

  1. #1
    Registered User
    Join Date
    Jan 2005
    Posts
    108

    client area topleft point relative to screen

    Hello,

    http://www.cse.unsw.edu.au/~ywid062/topleft.gif

    How do I get that point coordinate, relative to the screen? GetWindowRect gets the edge of the window, not the client area. GetClientRect returns (0,0) as the topleft, which means combining the use of that with GetWindowRect still won't get you anything.

    I think im missing something.. please help

    Thanks in advance

  2. #2
    erstwhile
    Join Date
    Jan 2002
    Posts
    2,227
    CProgramming FAQ
    Caution: this person may be a carrier of the misinformation virus.

  3. #3
    Registered User
    Join Date
    Jan 2005
    Posts
    108
    awesome, thanks a lot

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Console Screen Buffer
    By GaPe in forum Windows Programming
    Replies: 0
    Last Post: 02-06-2003, 05:15 AM
  2. Rounding a floating point #
    By john_murphy69 in forum C Programming
    Replies: 4
    Last Post: 01-22-2003, 09:47 PM
  3. More Problems with OpenGL and the Client Area
    By Niytaan in forum Windows Programming
    Replies: 2
    Last Post: 11-06-2002, 03:24 PM
  4. Clearing the client area
    By Isometric in forum Windows Programming
    Replies: 15
    Last Post: 01-29-2002, 10:07 PM
  5. Shut off DOS screen automatically to Windows
    By Unregistered in forum A Brief History of Cprogramming.com
    Replies: 2
    Last Post: 11-08-2001, 07:14 PM