Original Post
Say I create a window using the WS_OVERLAPPEDWINDOW | WS_VISIBLE flags. When I set the window size, it includes the titlebar and border. This is a problem, as the images I draw within that window are distorted. Is there a way to figure out how much I need to increase the window size to accomidate these things? Or is there some different flag that I can use to specify only the inside size? Keep in mind that this value is variable, since depending on operating system and user appearance settings the size of the title bar and borders can be different.