Getting interior window size
With a function like "CreateWindow", the size you specify is for the whole window as opposed to the interior space. For example, BitBlt a 1024x768 image into the window of this same size and you'll see a little bit chopped off on the right and quite a bit chopped off on the bottom. This is because the window itself is 1024x768 rather than the interior space and elements like the title bar, menu, and even borders take away some of this. If it was the interior space, the whole image will fill the whole interior without any waste or chopping. How do I determine this interior space? Is there a function I can use, or, as I currently do, I have to repeatedly use "GetSystemMetrics" to find the sizes of these things then add them onto the window's size to get the actual result? If there's a predefined Windows function, I would like to know what this function is so I can get a window, with greater ease, of the intended interior size. Thanks.