wnc
April 7th, 1999, 05:39 PM
I have a simple blackjack program i wrote using a CFormView based Doc/View app. Initially I had a problem getting the mainframe to start up being the same size as the dialog that i base my app on. After doing
GetParentFrame()->RecalcLayout();
ResizeParentToFit(FALSE);
the frame starts up the correct size. I wanted to have my program use the status bar, and i noticed that the status bar acts as if it's the original mainframe's size. I want the status bar to be the same size as the dialog. Is there some code that will let me resize the bar like i did in the above snippet with the view?
GetParentFrame()->RecalcLayout();
ResizeParentToFit(FALSE);
the frame starts up the correct size. I wanted to have my program use the status bar, and i noticed that the status bar acts as if it's the original mainframe's size. I want the status bar to be the same size as the dialog. Is there some code that will let me resize the bar like i did in the above snippet with the view?