自定义滚动条算法symbian
2010-10-20 07:59:55 来源:WEB开发网核心提示:# TEikScrollBarFrameLayout layout;# layout.iTilingMode = TEikScrollBarFrameLayout::EInclusiveRectConstant;# TRect rect;# rect.SetRect(0, 0, Size().iWidth, Size(
# TEikScrollBarFrameLayout layout;
# layout.iTilingMode = TEikScrollBarFrameLayout::EInclusiveRectConstant;
# TRect rect;
# rect.SetRect(0, 0, Size().iWidth, Size().iHeight);
# iScrollBarFrame->TileL(&iHDsSbarModel, &iVDsSbarModel, rect, rect, layout);
# iScrollBarFrame->SetVFocusPosToThumbPos(iVDsSbarModel.FocusPosition());
# }
[]
赞助商链接