Does CListCtrl display only filled rows?

Is the default behaviour for CListCtrl to only show the number of rows that are currently filled with an empty greyed out area beneath?

In my List I have a variable number of entries in a fixed display area. When there are more entries than the display area can hold it is fine, the vertical slider comes up and everything displays correctly. When I delete entries so there are not enough now to fill the display area, the empty area at the bottom becomes greyed out with no cell grid.

I want to keep the display area set out as a complete cell grid. I can calculate and top up that area with empty rows if I have to but I wouldn't have expected this to be the default behaviour. I would have expected the whole Client area of the CListCtrl to stay permanently displayed as an empty cell grid with the correct number of entries displayed at the top.

Do I have to handle this manually or is there perhaps some property of the CListCtrl I am not setting?
Topic archived. No new replies allowed.