Control inside listbox C# .Net
-
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
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 )
-
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 )
-
So i have to develop a separate control to show such controls? or there is a standard decision??? Thanks
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 )
-
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 )