XP style vs 98 [resolved]
I have a major problem that i've had to overlook in many of my projects. If the program has a frame, and on load I want to make the size of the form the size of the frame with equal margin. Well with XP style i set the margins manually and it works, but when I change the style to win 98, the margin is no longer equal, especial with the height properties. Is there a function, API, etc to determine exact size of the borders so I could resize my form in any style and still get the same margins all around? Scalewidth doesn't really help the way i use it but i might be using it in a wrong way. Thanks.