Skip to content
  • Categories
  • Recent
  • Tags
  • Popular
  • World
  • Users
  • Groups
Skins
  • Light
  • Cerulean
  • Cosmo
  • Flatly
  • Journal
  • Litera
  • Lumen
  • Lux
  • Materia
  • Minty
  • Morph
  • Pulse
  • Sandstone
  • Simplex
  • Sketchy
  • Spacelab
  • United
  • Yeti
  • Zephyr
  • Dark
  • Cyborg
  • Darkly
  • Quartz
  • Slate
  • Solar
  • Superhero
  • Vapor

  • Default (No Skin)
  • No Skin
Collapse
Code Project
  1. Home
  2. General Programming
  3. C / C++ / MFC
  4. Dialog items maximum

Dialog items maximum

Scheduled Pinned Locked Moved C / C++ / MFC
question
5 Posts 5 Posters 0 Views 1 Watching
  • Oldest to Newest
  • Newest to Oldest
  • Most Votes
Reply
  • Reply as topic
Log in to reply
This topic has been deleted. Only users with topic management privileges can see it.
  • O Offline
    O Offline
    Oliver123
    wrote on last edited by
    #1

    Is there a limit on the number of dialog items that can be put on a dialog in a single dialog application? How many edit boxes, buttons, etc?

    P M M H 4 Replies Last reply
    0
    • O Oliver123

      Is there a limit on the number of dialog items that can be put on a dialog in a single dialog application? How many edit boxes, buttons, etc?

      P Offline
      P Offline
      Paul Conrad
      wrote on last edited by
      #2

      I don't think there is a maximum. I would imagine the maximum would be dependent on the screen resolution and how badly you want to overwhelm the user :rolleyes:

      "Any sort of work in VB6 is bound to provide several WTF moments." - Christian Graus

      1 Reply Last reply
      0
      • O Oliver123

        Is there a limit on the number of dialog items that can be put on a dialog in a single dialog application? How many edit boxes, buttons, etc?

        M Offline
        M Offline
        Michael Dunn
        wrote on last edited by
        #3

        I think the RC file format has a limit of 255 controls. The actual window system has a limit of 10000 USER handles per process.

        --Mike-- Visual C++ MVP :cool: LINKS~! Ericahist | PimpFish | CP SearchBar v3.0 | C++ Forum FAQ Dunder-Mifflin, this is Pam.

        1 Reply Last reply
        0
        • O Oliver123

          Is there a limit on the number of dialog items that can be put on a dialog in a single dialog application? How many edit boxes, buttons, etc?

          M Offline
          M Offline
          Mark Salsbery
          wrote on last edited by
          #4

          Please post a pic of your dialog with 10000 controls on it! ;)

          Mark Salsbery Microsoft MVP - Visual C++ "Remember the five Ds of dogeball: Dodge, Dip, Duck, Dive, and Dodge." "If you can dodge a wrench, you can dodge a ball."

          1 Reply Last reply
          0
          • O Oliver123

            Is there a limit on the number of dialog items that can be put on a dialog in a single dialog application? How many edit boxes, buttons, etc?

            H Offline
            H Offline
            Hamid Taebi
            wrote on last edited by
            #5

            I think yes some times ago I add some controls on the forum but then compiler shows a message that you cant insert controls to forum.


            WhiteSky


            1 Reply Last reply
            0
            Reply
            • Reply as topic
            Log in to reply
            • Oldest to Newest
            • Newest to Oldest
            • Most Votes


            • Login

            • Don't have an account? Register

            • Login or register to search.
            • First post
              Last post
            0
            • Categories
            • Recent
            • Tags
            • Popular
            • World
            • Users
            • Groups