Dyamically determining the pixel size of a CFormView resource
Posted on 1999-06-30
I have a great many "dialogs" of type FormView that I created in the resource editor. These dialogs eventually get linked to a frame within a CMultiDocTemplate and then are displayed on the screen. Considering the detail of these forms, I would like them to come up as a specific size and be resizable within certain limits. I have already figured out how to give it a starting pixel size and constrain it to certain pixel limits (thank you to any who may have helped me). My problem is that the resources' pixel sizes, which are easily determinable on my machine, are actually different on other people's machines (making the frame appear too big or too small for the view). Consequently I would like to dynamically figure out the size of these CFormView resources.