nglp
April 5th, 1999, 10:14 PM
hi,
I am implementing a dynamic list containing static text in the first column, checkboxes in the second column, and combo boxes in
the last column. I've tried using both the grid control and list control samples in the code section, but both ended up with the same
problem.
The combobox column works well. But unlike combobox, I need to display ALL the checkboxes upon startup instead of upon
mouse click on a particular cell. Secondly they need to be persistent and not be destroyed when they lose focus.
Because the checkboxes now are created by getting the cell's RECT instead of creating it in the particular cell/grid, if I do not
destroy them upon losing focus, they will always stay in the same position and not be scrolled in the normal way.
Does anyone has any solution to this?? Any help will be much appreciated.
Thanks!
I am implementing a dynamic list containing static text in the first column, checkboxes in the second column, and combo boxes in
the last column. I've tried using both the grid control and list control samples in the code section, but both ended up with the same
problem.
The combobox column works well. But unlike combobox, I need to display ALL the checkboxes upon startup instead of upon
mouse click on a particular cell. Secondly they need to be persistent and not be destroyed when they lose focus.
Because the checkboxes now are created by getting the cell's RECT instead of creating it in the particular cell/grid, if I do not
destroy them upon losing focus, they will always stay in the same position and not be scrolled in the normal way.
Does anyone has any solution to this?? Any help will be much appreciated.
Thanks!