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#
  4. Control inside listbox C# .Net

Control inside listbox C# .Net

Scheduled Pinned Locked Moved C#
csharphelpquestion
5 Posts 2 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.
  • D Offline
    D Offline
    drweb86
    wrote on last edited by
    #1

    Hello. I have a problem I've developed control CompressionItemControl and want to add it to listbox as an item, but it doesn't show it(it only shows that smth added) Could you help me to create list of controls in listbox? Thanks, Sergey

    C 1 Reply Last reply
    0
    • D drweb86

      Hello. I have a problem I've developed control CompressionItemControl and want to add it to listbox as an item, but it doesn't show it(it only shows that smth added) Could you help me to create list of controls in listbox? Thanks, Sergey

      C Offline
      C Offline
      Christian Graus
      wrote on last edited by
      #2

      You can't add child windows to a ListBox, a list item is a predefined thing, and it renders text and perhaps an icon.

      Christian Graus - Microsoft MVP - C++ "I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )

      D 1 Reply Last reply
      0
      • C Christian Graus

        You can't add child windows to a ListBox, a list item is a predefined thing, and it renders text and perhaps an icon.

        Christian Graus - Microsoft MVP - C++ "I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )

        D Offline
        D Offline
        drweb86
        wrote on last edited by
        #3

        So i have to develop a separate control to show such controls? or there is a standard decision??? Thanks

        C 1 Reply Last reply
        0
        • D drweb86

          So i have to develop a separate control to show such controls? or there is a standard decision??? Thanks

          C Offline
          C Offline
          Christian Graus
          wrote on last edited by
          #4

          Yes, if you want a list of controls, you need to create something. Or, just render/position the controls in a row, I guess.

          Christian Graus - Microsoft MVP - C++ "I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )

          D 1 Reply Last reply
          0
          • C Christian Graus

            Yes, if you want a list of controls, you need to create something. Or, just render/position the controls in a row, I guess.

            Christian Graus - Microsoft MVP - C++ "I am working on a project that will convert a FORTRAN code to corresponding C++ code.I am not aware of FORTRAN syntax" ( spotted in the C++/CLI forum )

            D Offline
            D Offline
            drweb86
            wrote on last edited by
            #5

            Thank you very much!!!

            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