number of controls in mfc dialog vs2012
CodeGuru Home VC++ / MFC / C++ .NET / C# Visual Basic VB Forums Developer.com
Results 1 to 3 of 3

Thread: number of controls in mfc dialog vs2012

  1. #1
    Join Date
    Sep 2016
    Posts
    6

    number of controls in mfc dialog vs2012

    In a mfc app. , after added a control, getting the message number of controls is more than 255, some of the controls may not display correctly. What can be without removing any control?. It is not so easy to change its design at this stage.

  2. #2
    VictorN's Avatar
    VictorN is offline Super Moderator Power Poster
    Join Date
    Jan 2003
    Location
    Wallisellen (ZH), Switzerland
    Posts
    18,888

    Re: number of controls in mfc dialog vs2012

    You could add additional (> 255) controls dynamically.
    However, I'd reconsider the whole dialog design to probably use some other control types (like checked listbox instead of dozens checkboxes and so on)
    See also:
    https://groups.google.com/forum/#!to...fc/WJQdXwJ9Og4
    forums.codeguru.com Visual C++ & C++ Programming Visual C++ Programming
    https://www.google.de/search?q=numbe...hrome&ie=UTF-8
    Victor Nijegorodov

  3. #3
    VictorN's Avatar
    VictorN is offline Super Moderator Power Poster
    Join Date
    Jan 2003
    Location
    Wallisellen (ZH), Switzerland
    Posts
    18,888

    Re: number of controls in mfc dialog vs2012

    Sorry! I meant this thread on CG:
    http://forums.codeguru.com/showthrea...log-box-is-255
    Victor Nijegorodov

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

This a Codeguru.com survey!


HTML5 Development Center