I need to hide a row in CListCtrl rather than delete/insert a row. I
realize hiding a row isn't supported, but has anybody successfully
simulated a hidden row, such as setting the height of a row to zero?
Thanks,
Jared
Why not "simulate" a hidden row by deleting it?
--
With best wishes,
Igor Tandetnik
With sufficient thrust, pigs fly just fine. However, this is not
necessarily a good idea. It is hard to be sure where they are going to
land, and it could be dangerous sitting under them as they fly
overhead. -- RFC 1925
Setting the height to 0 means each row has variable height, which means
owner draw, which means complex. Instead, why not just delete/re-insert the
row?
-- David
> > I need to hide a row in CListCtrl rather than delete/insert a row. I
> > realize hiding a row isn't supported, but has anybody successfully
> > simulated a hidden row, such as setting the height of a row to zero?
>
> Setting the height to 0 means each row has variable height, which means
> owner draw, which means complex.
An OD ListView has fixed row height.
The row height can be changed with a MSFlexGrid.
Tom
<jared...@hotmail.com> wrote in message
news:0bbe5295-efca-41c8...@v67g2000hse.googlegroups.com...
Thanks for the quick responses. I'll go with inserting/deleting a row,
which seems to be the simplest option.
Thanks,
Jared