none
Layout smaller in Visual C++ 2017 than 2008 RRS feed

  • Question

  • Hello;

    I compiled a MFC project which originally was compiled in Visual C++2008 in Visual C++2017.

    My application is not based on dialog box. I used the CFameWnd as main screen.

    I set the size of application to 1024*725. What the application displayed is less than this size.

    All the toolbar, menu bar  and text on the main screen is smaller size.

    Just the dialog boxes are okay.

    How can I fix this?

    Friday, June 7, 2019 4:37 PM

All replies

  • Hi,

    This forum is about c++ development. For your case which is more related to Visual Studio General Questions, I will help you move thread to Visual Studio General Questions forum for better support.

    Best Regards,

    Jeanine Zhang

    Monday, June 10, 2019 2:56 AM
  • Hi friend,

    Sorry for delay in reply.

    According to your description, it seems that the dpi of the application has changed. As far as I know, MFC applications now default to being DPI-aware from visual studio 2010. So please follow the MSDN DOC to update your existing application.

    Any feedback will be expected.

    Best Regards,

    Dylan


    MSDN Community Support Please remember to click "Mark as Answer" the responses that resolved your issue, and to click "Unmark as Answer" if not. This can be beneficial to other community members reading this thread. If you have any compliments or complaints to MSDN Support, feel free to contact MSDNFSF@microsoft.com

    Tuesday, June 11, 2019 6:37 AM
  • Hi friend,

    Does your issue is solved or not? If not, could you please share the update information with us?

    If you already found the solution, please share it in here or mark the helpful reply, that will help other community members, we can also close this thread for you, thanks for your understanding.

    Best Regards,

    Dylan


    MSDN Community Support Please remember to click "Mark as Answer" the responses that resolved your issue, and to click "Unmark as Answer" if not. This can be beneficial to other community members reading this thread. If you have any compliments or complaints to MSDN Support, feel free to contact MSDNFSF@microsoft.com


    Wednesday, June 19, 2019 11:13 AM