I am trying to put scrollbars around a smple window within a container. SDK60 rel3 FP1.
This has worked in previous versions without problems. The scrollbar does not display.

I think the problem lies in this example code taken from SizeChange and ConstructL functions, where I would expect the TileL to return a changed TRect and ETrue. Instead it returns EFalse

CreateWindowL();
... etc

iScrollBarFrame = new(ELeave) CEikScrollBarFrame(this, NULL, EFalse);
iScrollBarFrame->SetTypeOfVScrollBar(CEikScrollBarFrame::ENormalScrollBar);
iScrollBarFrame->SetScrollBarVisibilityL (CEikScrollBarFrame::EOff, CEikScrollBarFrame::EOn);

......

TEikScrollBarModel myModel;
TEikScrollBarModel myModel2;
myModel.iThumbSpan=6;
myModel.iThumbPosition=0;
myModel.iScrollSpan =250;

TBool useful = myModel.ScrollBarUseful(); //returns ETrue

TEikScrollBarFrameLayout layout;
layout.iClientAreaGranularity = TSize(1, 1);
layout.iTilingMode=TEikScrollBarFrameLayout::EInclusiveRectConstant;

TRect fullRect = Rect();
TRect inclRect = fullRect;

TBool stat = iScrollBarFrame->TileL(&myModel2, &myModel, fullRect, inclRect, layout);
// returns EFalse

Does anybody have any idea why the TileL does not work.

regards+john