Posted on 1998-06-17
I have written an order enty program that uses a CFormView dialog resource as the main screen. The PC I used to develop the code was in 800 X 600 mode. Now that other users are using the program, they are getting annoying scroll bars even when in 800 X 600 and without any other desktop interference (Office Bar, Start Bar, etc)
My ultimate goal is to resize the CFormView to fit at either 640 X 480, 800 X 600, and 1024X768. How do programmers usually deal with different display settings? Also, why are there scroll bars on every other system at 800 X 600 but not on mine? I have tried using various combinations of SetScaleToFitSize() and GetParentFrame()->RecalcLayout() which eliminate the scroll bars but don't show the entire form. If its important the form contains a tree, listview, a RichEdit, and a bank of buttons at the top. I can live without the status bar if necessary. Thanks!