Click here to Skip to main content
15,881,172 members
Please Sign up or sign in to vote.
5.00/5 (1 vote)
See more:
We have developed MDI application on 17 inch monitor in VC++ 2010 MFC.
But now management wants application to run on 10 inch laptop.
Application does not fit,it goes out of screen.
Please tell me how to fit application on smaller screen
Posted
Comments
Richard MacCutchan 23-Mar-13 6:16am    
Make it smaller.
adityarao31 23-Mar-13 13:07pm    
Its not possible to fit all contents on smaller screen,there are tabs on view and there are classses for dialogs.Making it smaller means almost like recreating it which is not possible
Richard MacCutchan 23-Mar-13 13:15pm    
Looks like you have a major problem then.

1 solution

You said your app was MDI but mention tabs, views and dialogs. Strictly speaking, MDI is all views. In MDI, views will scroll if the screen is not large enough, but dialogs do not (by default) scroll, and tabs may or may not depending on how you implemented them.

==> If your app was designed for a larger screen and is run on a smaller screen, you will have to manually resize all dialogs (and probably tabs) to fit the smaller screen, or controls might be shown off-screen, and unavailable for use with the mouse. Keyboard shortcuts should still work even if the control is off the screen. Anything that is view based will work as is but will require scrolling by the user.

MessageBox() messages are resized dynamically and should take care of themselves without modification.
 
Share this answer
 
Comments
adityarao31 25-Mar-13 1:57am    
Actually when tested I seen scroll bars on smaller screen ,but it is not acceptable,application has to be displayed as it is displayed on big screen.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900