CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 2 of 2
  1. #1
    Join Date
    Mar 2013

    Unhappy MFC Dialog clipping off in low resolution

    I have an mfc dialog of size 1280 X 1024 and when i change the resolution to 800 X 600, after adding scroll bar, it don't show the entire dialog contents, Seems like it clips the 800 X 600 portion.

    I have handled VScroll and HScroll,, Am I missing something?
    it works fine for higher resolutions!

    Any help will be appreciated!

  2. #2
    Join Date
    Apr 2000
    Belgium (Europe)

    Re: MFC Dialog clipping off in low resolution

    Dialogs are the size you defined them in the template.

    if you want the dialog to respond to sizing or scrolling, you'll have to program this yourself, MFC (or Windows itself) doesn't have any built-in provisions for this. You can do it all yourself by careful moving/sizing of the child controls, but you'll have to do all the grunt work.

    This limitation is part of why there is a trend away from dialogs and towards technology like Winforms, DHTML, ...

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts

Windows Mobile Development Center

Click Here to Expand Forum to Full Width

On-Demand Webinars (sponsored)

We have made updates to our Privacy Policy to reflect the implementation of the General Data Protection Regulation.