Quantcast
Channel: CodeGuru Forums - Visual C++ Programming
Viewing all articles
Browse latest Browse all 3026

Change item height in CListBox / CListCtrl

$
0
0
Hello,

I need a ownerdraw CListBox where I can change the item height during working with the list.
The msdn says that I can specify the height in OnMeasureItem when the listbox will be created (ownerdrawfixed) or when an item will be inserted (ownerdrawvariable).

Any ideas how to change the height e.g. when I click a button?

I made also some tests with CListCtrl. There I can change the height.
But there is only one height for all items.
Any ideas how to set individual heights for the items?

thx
Ralf

Viewing all articles
Browse latest Browse all 3026

Trending Articles