I
Irakli Lomidze
Dear Sirs.
Plz Help me i send this question in 7th - time.
I Use OwnerDraw Method in ListBox Component.
All Works Fine But i have problem when i resizing the ListBox Component.
(need redraw)
in List Box OnMeasureItem and OnDrawItem Called when ListBox is Created or
when Add new Item.
But They are not calling when i resize a listbox.
I try in my code:
onresize()
{ listbox1.Invalidate();
}
but I have no effect
one way is remove and readd all item on listbox. but i have big amount of
items
and this way is very bad.
plz help me how is posible extend exsiting listbox.
or i need reimplement full textbox.
Thank you in Advance.
Irakli Lomidze
Plz Help me i send this question in 7th - time.
I Use OwnerDraw Method in ListBox Component.
All Works Fine But i have problem when i resizing the ListBox Component.
(need redraw)
in List Box OnMeasureItem and OnDrawItem Called when ListBox is Created or
when Add new Item.
But They are not calling when i resize a listbox.
I try in my code:
onresize()
{ listbox1.Invalidate();
}
but I have no effect
one way is remove and readd all item on listbox. but i have big amount of
items
and this way is very bad.
plz help me how is posible extend exsiting listbox.
or i need reimplement full textbox.
Thank you in Advance.
Irakli Lomidze