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

Thread: mfc dialog

  1. #1
    Join Date
    May 2011
    Posts
    23

    mfc dialog

    Got an old Mfc dialog project that needs a lot of controls to be added to it. What is the limitation on number of controls if I do the work under vc2008. How can I bypass such limitation if there is one?.

  2. #2
    Join Date
    Feb 2003
    Location
    Iasi - Romania
    Posts
    8,244

    Re: mfc dialog

    AFAIK, there is a limit of 255 controls which can be added in a dialog template if the target system is Windows 95/98/Me.
    I don't know if this limit is exceeded or not on NT platform (theoretically, that may be 65535).
    For dynamically created controls, only God knows where the limit is.

    Anyhow, everybody should know that a very large number of controls in a dialog means... bad design.
    Just shoot the architect!
    Last edited by ovidiucucu; November 30th, 2011 at 06:26 AM.
    Ovidiu
    "When in Rome, do as Romans do."
    My latest articles: https://codexpertro.wordpress.com/

Posting Permissions

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





Click Here to Expand Forum to Full Width

Featured