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. Control Limits

Control Limits

Scheduled Pinned Locked Moved C / C++ / MFC
question
4 Posts 3 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.
  • M Offline
    M Offline
    moobob
    wrote on last edited by
    #1

    Does anyone know if there is a limit in VC as to the number of controls you may place on a dialog? I know it sounds like a bizare dialog, but I have 255 controls on it, and am unable to place anymore. When I select a control from the palette and try to draw it on the dialog nothing happens. If I copy a control from the dialog and attempt to paste it, the paste button will not become active. I'm sure you're wondering why one would have so many controls on a dialog, it has 200 check boxes which display a status of a device and labels for groups of the check boxes. I need to have 25 more check boxes. Does anyone know if 255 is the limit for the number of controls one can place on a dialog? I've exited and come back into VC, thinking maybe that would work, but no luck. Any suggestions would be appreciated. Thanks in advance, Bob

    A T 2 Replies Last reply
    0
    • M moobob

      Does anyone know if there is a limit in VC as to the number of controls you may place on a dialog? I know it sounds like a bizare dialog, but I have 255 controls on it, and am unable to place anymore. When I select a control from the palette and try to draw it on the dialog nothing happens. If I copy a control from the dialog and attempt to paste it, the paste button will not become active. I'm sure you're wondering why one would have so many controls on a dialog, it has 200 check boxes which display a status of a device and labels for groups of the check boxes. I need to have 25 more check boxes. Does anyone know if 255 is the limit for the number of controls one can place on a dialog? I've exited and come back into VC, thinking maybe that would work, but no luck. Any suggestions would be appreciated. Thanks in advance, Bob

      A Offline
      A Offline
      AlexO
      wrote on last edited by
      #2

      I do not know, but it is easy to find out. Open your .rc file in notepad and add controls manually.

      M 1 Reply Last reply
      0
      • A AlexO

        I do not know, but it is easy to find out. Open your .rc file in notepad and add controls manually.

        M Offline
        M Offline
        moobob
        wrote on last edited by
        #3

        I believe the limit is in the GUI portion of the tool. It does appear to be limited to 255 controls. If I remove 3 controls, I can add only 3 more. I can however, add controls by manually editing the .rc and resource.h files. Thanks for your input, Bob

        1 Reply Last reply
        0
        • M moobob

          Does anyone know if there is a limit in VC as to the number of controls you may place on a dialog? I know it sounds like a bizare dialog, but I have 255 controls on it, and am unable to place anymore. When I select a control from the palette and try to draw it on the dialog nothing happens. If I copy a control from the dialog and attempt to paste it, the paste button will not become active. I'm sure you're wondering why one would have so many controls on a dialog, it has 200 check boxes which display a status of a device and labels for groups of the check boxes. I need to have 25 more check boxes. Does anyone know if 255 is the limit for the number of controls one can place on a dialog? I've exited and come back into VC, thinking maybe that would work, but no luck. Any suggestions would be appreciated. Thanks in advance, Bob

          T Offline
          T Offline
          TomKat
          wrote on last edited by
          #4

          i wonder ! isn`t this because you have run out of space on it ? :) I am the mighty keeper of the book on knowledge . Contact me to get your copy .

          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