Original Post
I feel like an idiot, so I'm asking this in "For Beginners"... How exactly can one calculate the center of a window's client area? The GetClientRect-function does for some reason return the rectangle in client space (!!!), so the left and top elements are always zero. GetWindowRect returns the top-left including the titlebar, but I can't calculate the client area from that, since I can't find a function to retrieve the border width of the window. Anyone has the obvious solution to this?