I'm trying to make a resizable DirectDraw window, and I want to blit to the client area. How do I get the coordinates for it? GetWindowRect returns the border coordinates and GetClientRect only returns the size of the area. Basically, what I'm looking for is a reversed AdjustWindowRect or a smart way to get the client coordinates when receiving WM_MOVE or WM_SIZE messages.
Posted on 2003-07-18 15:53:11 by Hugin
Afternoon, Hugin.


Posted on 2003-07-18 20:04:22 by Scronty