Hi Everyone,
I am having problems with using CEikScrollBar as a standalone/dynamic control.
I've tried the following:
CEikScrollBar *iScrollBar = new CEikScrollBar;
iScrollBar->ConstructL(this,this,CEikScrollBar::EVertical,0);
"this" is a CCoeControl and MEikScrollBarObserver.
This code crashes in ConstructL. No panics no nothing. It just dies in EIKCOCTL.DLL->CONE.DLL->WS32.DLL.
No matter what I try, I don't seem to be able to create a standalone scroll bar object.
Please help... If anyone can try putting the above code in their app and checking if it works... I am trying to determine whether this is a problem within CEikScrollBar or this is somehow related to my environment...
ASY