Hello all,
i want to draw a list in the client area rather then the entire client area---

TRect listRect = TRect( aRect.iTl.iX , aRect.iTl.iY, aRect.iBr.iX , 2 * (aRect.iBr.iY / 3 ));
CListBoxContainer::ConstructL();//listRect); // Will create the listbox
PopulateList();
DrawSearchBox();
SetRect(aRect);
ActivateL();

but in the case of mooving up and down randomly it get stuck or moove on to the wrong index if i use the fullclient area like

CListBoxContainer::ConstructL(aRect.Size());//create the list box

every thing works fine what may be the problem please help..