Özden Irmak
10/11/2004 8:25:00 PM
Sorry, wrong newsgroup...
Özden
"Özden Irmak" <ozdenirmakatisnetdotnetdottr> wrote in message
news:ub7Uf67rEHA.2008@TK2MSFTNGP12.phx.gbl...
> Hello,
>
> I''ve derived from ListBox control to create a special control. This
> control''s DrawItem property is OwnerDrawVariable. When the items are get
> drawn, OnMeasureItem is called once but only once. No matter you resize
> the control, etc. will not cause this event to be re-called again.
>
> I have to recalculate the Item heights when the width of the control is
> changed but this seems not to be possible? Is this a bug? Anyworkaround?
>
> Thanks in advance,
>
> Özden
>